MediaUpload: cannot edit selected image in Add to Gallery view of media library #38363
Labels
[Block] Gallery
Affects the Gallery Block - used to display groups of images
[Type] Bug
An existing feature does not function as intended
Description
Selecting an image and clicking on
Edit Image
in the Gallery Block Media Library throws a JS error.The error is thrown at this line: https://github.com/WordPress/wordpress-develop/blob/2648a5f984b8abf06872151898e3a61d3458a628/src/js/media/views/edit-image.js#L25.
Step-by-step reproduction instructions
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: