grapesjs
grapesjs copied to clipboard
[Bug] Enabling full size dropzone opens asset modal every time you drop a block onto the canvas.
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)