Replies: 1 comment 8 replies
-
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). |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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
Beta Was this translation helpful? Give feedback.
All reactions