Closed protozoo closed 2 years ago
Hi @protozoo I'm not sure exactly why but looks like the vscode iframe (probably sandboxed) is blocking the native HTML5 Drag & Drop (this is what is used on Blocks). As this is not strictly related to the core I'll move this one to the discussion.
GrapesJS version
What browser are you using?
VSCode (WebView within VSCode extension)
Reproducible demo link
https://grapesjs.com/demo.html
Describe the bug
How to reproduce the bug?
What is the expected behavior? The dragged block should be added to the canvas
What is the current behavior? The dragged component is NOT added to the canvas. You can watch a video showing the problem here: https://www.protozoo.com/tests/grapesjs/vscode_extension_grapes.mov. As demonstrated in the video, other dragging interactions work as expected. The issue can be seen near the end.
If is necessary to execute some code in order to reproduce the bug, paste it here below:
Code of Conduct