-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Show a modal when dropping a file outside the dropzone #44292
Copy link
Copy link
Open
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Drag and DropDrag and drop functionality when working with blocksDrag and drop functionality when working with blocks[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Metadata
Metadata
Assignees
Labels
Needs DevReady for, and needs developer effortsReady for, and needs developer efforts[Feature] Drag and DropDrag and drop functionality when working with blocksDrag and drop functionality when working with blocks[Feature] MediaAnything that impacts the experience of managing mediaAnything that impacts the experience of managing media[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Type
Fields
Give feedbackNo fields configured for issues without a type.
In this PR @mtias suggested showing a modal when a user drags a file to the editor but outside of the dropzone.
The text of the modal could indicate the type of the file the user is trying to add (image, video, etc.) or we could go with something more generic, like "media". Something else we could do is to show an error modal if the user drags an unrecognized file type.
Initial exploration
Here are a couple of ideas for such a modal: one with a simple list of text options and another one with images.
Screen.Recording.2022-09-20.at.12.15.47.mov
Figma file