Media & Text block: The link option does not work when the featured image is used #60497
Labels
[Block] Media & Text
Affects the Media & Text Block
Needs Dev
Ready for, and needs developer efforts
[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 uses the featured image, and a link is added using the block toolbar option, the link does not work because it does not wrap around the image.
It is not added to the block in index.php.
Step-by-step reproduction instructions
Activate Gutenberg
Create a new post and add a featured image.
Add a Media & Text block and select the option "Use featured image".
In the block toolbar, select the link option and add a link.
Save and view the front.
Confirm that the image is not linked.
Screenshots, screen recording, code snippet
No response
Environment info
Gutenberg 18.0 or newer, or Gutenberg trunk.
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: