Issue #2294β—‹ OpenOpened September 26, 2019by tom-sherman0 reactions

Text components are removed with an error if they are dragged while you are editing their contents

Open question

No community answers yet. Open the original discussion on GitHub to share your solution.

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

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins β†’
Premium option

Premium plugins ship with support, regular updates, and production-ready features β€” save days of integration work.

Browse premium plugins β†’

Related tutorials

In-depth guides on the same topic.

All tutorials β†’

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.