Issue #2682💬 AnsweredOpened March 24, 2020by FedericoPalma920 reactions

Text element change tag after save

快速解答by artf

With the usage of a custom RTE like CKEditor we leave all the responsibility to the third-party handle the content, so if there is something you'd like to change you have to check their documentation

Read full answer below ↓

Question

Hi,

the block of text changes tags when reloading html after saving.

in detail as soon as you insert the text block the ckeditor is initialized on the div, when entering edit the ckeditor is initialized on the p tag.

This is the text block on load <div data-gjs-type="default" draggable="true" data-highlightable="1" id="iysen" class=""><p data-gjs-type="text" draggable="true" data-highlightable="1" id="i5utb" class="gjs-selected">Inserisci il tuo testo</p></div>

This is the text block before saving <div data-gjs-type="text" draggable="true" data-highlightable="1" id="inuej" contenteditable="false" class="cke_editable cke_editable_inline cke_contents_ltr cke_show_borders" spellcheck="false"><p>Inserisci il tuo testo</p></div>

Answers (1)

artfApril 2, 2020

With the usage of a custom RTE like CKEditor we leave all the responsibility to the third-party handle the content, so if there is something you'd like to change you have to check their documentation

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.