Link Element: Color definitions should exclude Image block which can get linked element (e.g. within Gallery block) #53070
Labels
[Package] Style Engine
/packages/style-engine
[Type] Bug
An existing feature does not function as intended
Followup Issue
theme.json
addition produces the following enqueued CSS:Reproduction
border-width: 1px
.border-color
andborder-type
hence inherit the defaults.<img>
within an<a>
.--wp--preset--color--link-plain
(blue).:not()
selector to also exclude> .wp-block-image
, so.wp-block-post-content a:where(:not(.wp-element-button, > .wp-block-image)){ ... }
Could someone please integrate that fix?
The text was updated successfully, but these errors were encountered: