-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drag and drop images from other sites does not work #3744
Comments
I'm having the same issue when I drag and drop images from other Mac apps like Notes, Mail, etc. The only thing that works for me is actual files from Finder. |
The problem seems to be that the only drop handling that Gutenberg is currently doing is handling file transfers. However, in dragging and dropping, sometimes the browser just sends across images as HTML transfers. Gutenberg doesn't seem to handle dragging and dropping text from another page into the editor. Is this an intentional design decision or hasn't dragging and dropping HTML been implemented yet? |
There are a couple of things going on here:
And the moment, the image block defines a When something is dropped inside the dropzone, it runs through the We can do the same thing for HTML drag and dropping. I'm spiked out a type |
@ephox-mogran This is why we have a |
Issue Overview
Dragging an image from a site into Gutenberg does not work. Nothing happens.
Steps to Reproduce (for bugs)
Testing in Chrome.
Or:
Expected Behavior
I expect an image block with the image.
Current Behavior
Nothing happens.
The text was updated successfully, but these errors were encountered: