Insert from URL accepts plain text and assumes is an image blob #46326
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
Description
If you type some text into the 'insert from URL' dialog it then assumes it is an image blob, turns the block into a valid image, and lets you change settings and upload it the server.
Secondary to this, the upload icon appears even if
hasUploadPermissions
isfalse
.Step-by-step reproduction instructions
undefined: Sorry, this file type is not supported here.
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Yes
The text was updated successfully, but these errors were encountered: