Issue #2294Opened September 26, 2019by tom-sherman0 reactions

[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

  1. Drag in a text node
  2. Double click to activate the RTE
  3. Drag the text component into another position
  4. 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.

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.