-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Draggable property added in the final HTML text components #2508
Comments
@alexiswbr using the below snippet, the
|
I use such way to prevent transformation to component and keep original html. Maybe it's not good solution, but it works :)
|
Well these are some quick fix but there is another bug maybe linked to this one. |
Ok I'll try to check this out |
@artf The same issue exists in the latest online demo : https://grapesjs.com/demo.html |
This bug is also on the online demo : https://grapesjs.com/demo.html
Now if you click on the "view code" button, you will see that the HTML nodes inside the Text Block have some
draggable="true
attributes.This always occure at step three. The first time you edit the text and add break lines, everything is fine, as long as you do not want to edit the block again later.
The problem is, in the final HTML displayed on a website, these attributes are still there. You can not select anything because the navigator interpreting the draggable attributes.
And yes I am saving in database both of the
html
andcomponents
separatelyIt seems like a bug to me, or I misunderstood something else
The text was updated successfully, but these errors were encountered: