Closed alesub closed 1 year ago
@artf just to clarify: this bug is based on the expected behaviour you described on this comment: https://github.com/artf/grapesjs/issues/576#issuecomment-348550694 And how the divs with text behave on the demo page.
Please let me know if I got it wrong, Thank again!
Hi, any luck reviewing this issue? What got me lost is this doesn't happen on the demo page, any bold or italic text doesn't become a separate component after saving or reloading.
Any insight will be greatly appreciated, Thanks!
Closing this one as now this is the default behavior.
There is also a possibility to customize the behavior via disableTextInnerChilds
option added from https://github.com/GrapesJS/grapesjs/releases/tag/v0.21.2
Hi,
I'm currently trying to start the editor "fromElement", setting the following html inside the container:
But when executed, grapesjs creates components inside the
<p>
tag even after setting thedata-gjs-type
attribute astext
. What I'm trying to do is to present the paragraph to be edited as a single component.You can see the issue in action here: https://codepen.io/alesub/pen/xxwNaPd
Thanks for this great tool!