Media & Text: When crop image to fill is enabled, the image in nested media & text blocks does not show #62166
Labels
[Block] Media & Text
Affects the Media & Text Block
Good First Issue
An issue that's suitable for someone looking to contribute for the first time
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When the media & text block has an image (or featured image), and the setting "Crop image to fill" is enabled,
and another media & text block is added in the content area, the image of that second media & text block is hidden.
It is hidden by the CSS from the first (outer) media & text block:
Step-by-step reproduction instructions
Add a media and text block and select an image as the media.
In the block settings panel, enable "crop image to fill".
Add another media & text block inside. Try to select an image.
Confirm that the image is hidden in the editor and the front.
Screenshots, screen recording, code snippet
No response
Environment info
No response
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: