"Image exceeds maximum file size" error does not trigger when drag+drop into editor #10191
Labels
[Block] Image
Affects the Image Block
[Feature] Media
Anything that impacts the experience of managing media
[Type] Bug
An existing feature does not function as intended
Milestone
Describe the bug
Dragging + Dropping an image into the editor results in the editor seeing an image preview, with it's opacity transition to indicate that the image is uploading. When doing this with an image that exceeds the file size limit, it doesn't error out, but instead shows the same thing as the above - giving no context to the editor that something has gone wrong.
Doing the same thing within the media uploader results in an immediate error stating that the image size is too large.
To Reproduce
Steps to reproduce the behavior:
1a. Select image block
2a. Drag + Drop image into block
3a. See expected behaviour
Expected behavior
If image exceeds accepted file size limits, it should stop flashing and show an error message.
Screenshots
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: