Issue #2478💬 AnsweredOpened December 29, 2019by obrazkow0 reactions

Error when trying to move cell from row

Quick answerby obrazkow

Problem in Sorter. function dimsFromTarget return empty array, when target element not in draggable list see https://github.com/artf/grapesjs/blob/dev/src/utils/Sorter.js#L644(not found target) https://github.com/artf/grapesjs/blob/dev/src/utils/Sorter.js#L648(return empty array) And after this function call getTarget...

Read full answer below ↓

Question

If try move cell from table on body then appears error

image

Also error appears on grapesjs demo https://grapesjs.com/demo-newsletter-editor.html

Answers (3)

obrazkowDecember 29, 2019

Problem in Sorter. function dimsFromTarget return empty array, when target element not in draggable list see https://github.com/artf/grapesjs/blob/dev/src/utils/Sorter.js#L644(not found target) https://github.com/artf/grapesjs/blob/dev/src/utils/Sorter.js#L648(return empty array) And after this fun...

artfJanuary 2, 2020

Can you tell me exactly how to reproduce the error because I don't see any error by dragging off the cell

obrazkowJanuary 2, 2020

First error.Select cell wrapper(see on screenshot) and try drag itIn console will appear errors For more details i attach link on two video files. When i tried to reproduce, i found another bug. Try select first component for example text and move it and after select cell and try drag it. You'll se...

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.