Opened 4 weeks ago
Closed 4 weeks ago
#62406 closed defect (bug) (duplicate)
Issues with hyperlinks in media-text block since 6.7
Reported by: | dohu13 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.7 |
Component: | Editor | Keywords: | needs-patch 2nd-opinion needs-testing |
Focuses: | css | Cc: |
Description
Since the update to 6.7, images from the media text block are displayed incorrectly when they are wrapped with a link. The link tag now has a CSS display: inline-block, which makes the image much too small. As soon as you remove the display: inline-block, everything is fine again.
The Problem exists in Chrome and Opera Browser. Firefox works fine. Safari not testet. The problem also exists with my own themes and also with twenty-twenty-four and the new twenty-twenty-five. In Gutenberg Backend Editor it all runs fine with all browsers.
Screenshot: http://test.lake-site.de/screenshot02.png
Demo: http://test.lake-site.de/
I saw that there was already a ticket for this issue and wonder why it is closed.
https://core.trac.wordpress.org/ticket/62376
Hey @dohu13, Thanks for bringing this up!
Just to update you, the ticket you mentioned — https://core.trac.wordpress.org/ticket/62376 was closed as a similar issue had already been opened in Gutenberg. That issue has since been solved.
Here are the references for you:
The issue: https://github.com/WordPress/gutenberg/issues/66914
The pull request: https://github.com/WordPress/gutenberg/pull/66915
Hope this clarifies things, and please let me know if I am missing anything!