[Bug] Text components are removed with an error if they are dragged while you are editing their contents
Question
This can replicated in the demo: https://grapesjs.com/demo.html
- Drag in a text node
- Double click to activate the RTE
- Drag the text component into another position
- Select another component
The component is removed and the following error is logged to the console:
Uncaught TypeError: Cannot read property 'tagName' of null
at r.toggleEvents (ComponentTextView.js:165)
at r.disableEditing (ComponentTextView.js:71)
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2508
[Bug] Draggable property added in the final HTML text components
This bug is also on the online demo : https://grapesjs.com/demo.htmlAdd a Text Block to the page, start typing and hiting enter to make sev...
Issue #3579
BUG: RTE misplaced when opened right after dropping `activeOnRender` component
Version: 0.17.4 Are you able to reproduce the bug from the demo?[x] Yes[ ] No Steps to reproduce:Go to the demoDrop a "Text" block inside t...
Issue #1394
[Bug]: Pasting multiple paragraphs aren't editable until Grapes reloads
https://grapesjs.com/demo.htmlIn the double click into the text "All text blocks could..." to trigger editing mode.Paste this text in: The...
Issue #2656
[BUG] Wrong position of toolbar when duplicate children component
Hi, you can check this example: https://codepen.io/abozhinov/pen/XWbqjEJ Steps to reproduce the problem:If components existing delete them...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.