Skip to content

Display warning that only one image can be uploaded in the images menu after multiple images dropped into a markdown editor #2178

@MisRob

Description

@MisRob

U## Summary

Currently, drag&drop is allowed, but when a user drops two images at once, only the first one will be uploaded. There is no warning.

Solutions:
1. Disable drag&drop
2. Leave drag&drop enabled and allow more images to be dropped (in that case we would probably need to use option (2) when dealing with #2177)
3. Leave drag&drop enabled, allow one image to be dropped and add some logic to communicate it to users - displaying a dialog with a warning that only a first file will be processed could be a simple solution?

@jtamiace @jayoshih Any thougths?

At first, implement #2177. Make sure that "You can only upload one image at a time" warning is displayed according to the design @jtamiace uploaded.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions