Dragging a text component inside a <p> tag should convert the text element to a span #4658
benryanwilliams
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Yeah, I agree, the way the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When dragging a text component into a
<p>
tag, the text component should be inserted as aspan
instead of adiv
, since<p>
tags can't contain adiv
or other block elements, and this results in problems when rendering the template. I understand that<p>
tags won't be generated by standard blocks inside grapesjs, but if the user is importing html from templates they find online, these are likely to include<p>
tags.Beta Was this translation helpful? Give feedback.
All reactions