-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
Attempting to change the post title's link color does not work.
Step-by-step reproduction instructions
Add some markup like this to a template:
<!-- wp:query {"queryId":1,"query":{"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","sticky":"","perPage":10}} -->
<div class="wp-block-query"><!-- wp:post-template {"layout":{"type":"default"}} -->
<!-- wp:post-title {"isLink":true,"style":{"elements":{"link":{"color":{"text":"var:preset|color|vivid-red"}}}}} /-->
<!-- wp:post-excerpt /-->
<!-- /wp:post-template --></div>
<!-- /wp:query -->
Verify the link color is correct in the editor, but not the front end.
Screenshots, screen recording, code snippet
Using emptytheme:
Editor | View |
---|---|
Environment info
- Gutenberg trunk
- Chrome latest, Safari, Firefox
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
Metadata
Metadata
Assignees
Labels
[Feature] BlocksOverall functionality of blocksOverall functionality of blocks[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended