[Bug] Item drop duplicates after opening Layers Panel.
Question
Hi i'm a novice posting an issue for the first time. Please let me know if you need any more information for the query.
grapesjs version:0.14.48 Steps to reproduce: 1.Open the site click on the layers button 2.Return to the blocks button and drag and drop any block into the field.
tested on:https://grapesjs.com/demo.html video:https://drive.google.com/file/d/1EwMK5zs6cdLx8nU3MvRj4huJE-Lu8YTm/view?usp=sharing
Answers (3)
@artf After upgrading to 0.14.48, it is throwing an error while loading data from remote source as well dragging new elements on canvas.
Uncaught TypeError: s is not a constructor
at r.addToCollection (grapes.js:39597)
at r.addTo (grapes.js:39576)
at v (grapes.js:4743)
at m (grapes.js:4728)
at d (grapes.js:4527)
at r.c.trigger (grapes.js:4718)
at r._onModelEvent (grapes.js:5559)
at v (grapes.js:4744)
at m (grapes.js:4729)
at d (grapes.js:4527)
And,
grapes.js:53487 Uncaught TypeError: Cannot read property 'index' of undefined
at r.move (grapes.js:53487)
at grapes.js:53454
at Array.forEach (<anonymous>)
at r.endMove (grapes.js:53453)
at I (grapes.js:21273)
at HTMLDocument.<anonymous> (grapes.js:21286)
at HTMLDocument.<anonymous> (grapes.js:20633)
Ok thanks guys, I'll publish soon a new release with this hotfix
Related Questions and Answers
Continue research with similar issue discussions.
Issue #809
[Bug]: CSS not added when blocks are drag and dropped after core:canvas-clear command invoked
I'm using grapesjs-blocks-basic plugin that has a number of column blocks. When I drag and drop these blocs onto the canvas they are displa...
Issue #1793
[Bug]: Duplicate CKEditor Toolbar
hi @artf , Grapejs version: 0.14.52 Steps reproduce:Access the link: https://grapedrop.comLogin and go to template site.Edit one template.D...
Issue #1127
Command running multiple times
Hello Folks, I need your help.I created a custom button on the commands Panel to publish the site created from Grapes.When i click on it, i...
Issue #622
Image editor is not closed.
When I choose image component and don't choose an image for the first time then if I open image editor then It won't close after clicking o...
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.