Image Block: Caption with Link in Wide-Width and Full-Width Images Appears on Two Lines Instead of One Line #67206
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When a caption in an Image Block includes a link, and the image is set to either wide-width for full-width, the text and link in the caption are split up and shown on two lines.
When the Image Block is set to centered, the text and link appear on the same line.
Is this expected behavior for the Image Block? If so, is there an option in the toolbar or settings to remove the
when a link is used?
From what I see, the following CSS is causing the link being in one line:
Step-by-step reproduction instructions
"Photo Credit:
Nature is Amazing Photo Collection"
tag is added.
"Photo Credit: Nature is Amazing Photo Collection"
Screenshots, screen recording, code snippet
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: