Lightbox: Expand on click toggle control is disabled on images inserted through the block inserter sidebar #56049
Labels
[Block] Image
Affects the Image Block
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When inserting an image from the block inserter sidebar (either Openverse or media library), the 'Expand on click' toggle is disabled at first, even though the image is not actually linked. (If you add a link and then remove it, the toggle then is enabled.)
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
Screen.Recording.2023-11-10.at.11.59.09.AM.mov
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
CC @aurooba
The text was updated successfully, but these errors were encountered: