[Bug] Enabling full size dropzone opens asset modal every time you drop a block onto the canvas.
Question
I think what might be happening is that it's not checked if it's really an image that is being dropped onto the canvas?
See these 2 links for minimal repro versions.
https://codesandbox.io/s/jlqpl2kj95 (dropzone set to 1, just drop any block onto the canvas and the asset modal will open)
https://codesandbox.io/s/k2roqjk20r (dropzone set to 0, dropping blocks does not open asset modal)
Answers (0)
No answers yet.
Related Questions and Answers
Continue research with similar issue discussions.
Issue #2383
Custom component not pulling through style on first add.
Fiddle replicating the issue: https://jsfiddle.net/gd8mo3e4/1/ I have a custom component for creating a gallery of pdf documents. There's a...
Issue #4015
BUG: Drag and drop not working well in case of RTL
GrapesJS version [X] I confirm to use the latest version of GrapesJS What browser are you using? Chrome v96 Reproducible demo link https://...
Issue #3939
BUG: Disabled drag and drop in preview
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? v95Reproducible demo link https://codesandbo...
Issue #2493
Invalid array length when dragging component onto canvas
Not sure why, But all of a sudden, when I start dragging components onto a canvas, I get this: This seems to happen when I edit a template,...
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.