Skip to content

Show a modal when dropping a file outside the dropzone #44292

Open
@javierarce

Description

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.

image

image

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.

image

Screen.Recording.2022-09-20.at.12.15.47.mov

Figma file

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Needs DevReady for, and needs developer efforts[Feature] Drag and DropDrag and drop functionality when working with blocks[Feature] MediaAnything that impacts the experience of managing media[Type] EnhancementA suggestion for improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions