Several blocks are missing has-link-color class on the front #47233
Labels
[Block] Post Terms
Affects the Post Terms Block
[Type] Bug
An existing feature does not function as intended
Description
When the post terms block has a link color set, the has-link-color class is present in the editor and not the front.
This is causing a problem for https://core.trac.wordpress.org/ticket/56487, enabling appearance-tools theme support for bundled themes.
In Twenty Twenty-One the link color contrast is meant to change depending on the background color, unless there is a custom link color set, so it relies on this class being present in both the editor and front.
Update: This is also the case with
I have not had the chance to test all blocks that has link color options yet.
Step-by-step reproduction instructions
In the editor, add a post terms block.
Select a link color from the color picker.
View the source for the block in the editor and confirm that it has the
has-link-color
class.Save and view the front. Confirm that the block no longer has the
has-link-color
class.Screenshots, screen recording, code snippet
No response
Environment info
Gutenberg trunk
WordPres 6.2 alpha.
Twenty Twenty-One.
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: