grapesjs icon indicating copy to clipboard operation
grapesjs copied to clipboard

[Bug] Enabling full size dropzone opens asset modal every time you drop a block onto the canvas.

Open Huuums opened this issue 5 years ago • 0 comments

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)

Huuums avatar Mar 05 '19 16:03 Huuums