Enabling full size dropzone opens asset modal every time you drop a block onto the canvas.
No community answers yet. Open the original discussion on GitHub to share your solution.
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 #3759
Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of type 'Node'.
GrapesJS version[X] I confirm to use the latest version of GrapesJSWhat browser are you using? chrome new versionReproducible demo link htt...
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,...
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...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins →Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.
Browse premium plugins →Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.