-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
When an Image block has a link set (whether custom URL or to Media File), the Block Toolbar's cropping tools don't work as expected. You cannot drag them to crop to a desired area. (though the Zoom does work). Video attached.
I have confirmed this behavior on 6.4.3 & 6.5-RC-3 (with and without Gutenberg 17.9)
Step-by-step reproduction instructions
- Insert an Image Block
- Make the image link to something (this may or may not be the case by default, depending on your value of 'image_default_link_type' in wp_options
- Try to crop it using the toolbar, making sure to try dragging to find a different center point.
Note that you cannot drag the cropper.
- Remove the link and try to crop again.
- See that you can now crop as expected.
Screenshots, screen recording, code snippet
video1077925610.mp4
Environment info
WP 6.4.3 and 6.5-RC-3. With and without Gutenberg 17.9. Twenty Twenty Four Theme (among others)
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
Metadata
Metadata
Assignees
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Status] In ProgressTracking issues with work in progressTracking issues with work in progress[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended