-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
The Image block may disappear when attempting to crop it in a few scenarios:
- It is inside a Row or Stack and has no size specified
- It is aligned left/center/right and has no size specified
Step-by-step reproduction instructions
Aligned images
- Insert an image
- Select local media for the Image
- Align the image left, right or center
- Press "Crop" from the block toolbar
Inside Row / Stack
- Insert a Row / Stack
- Insert an Image within the Row / Stack
- Select local media for the Image
- Press "Crop" from the block toolbar
Screenshots, screen recording, code snippet
image-disappears-when-edited-in-flex.mp4
Environment info
- WP 6.7.1 / Gutenberg plugin trunk
- Firefox / Chrome
- MacOS
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
Please confirm which theme type you used for testing.
- Block
- Classic
- Hybrid (e.g. classic with theme.json)
- Not sure
Metadata
Metadata
Assignees
Labels
[Block] ImageAffects the Image BlockAffects the Image Block[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended