-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Content Only Pattern experiment: Restore purple block icon color for synced patterns #71655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Content Only Pattern experiment: Restore purple block icon color for synced patterns #71655
Conversation
|
Size Change: -24 B (0%) Total Size: 1.94 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in da055ac. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/17728163881
|
aaronrobertshaw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |


What?
I noticed that while testing the contentOnly patterns experiment, synced patterns no longer have the purple block icon color on the toolbar.
As part of that experiment the transforms menu in the toolbar is no longer displayed for any section blocks.
It seems like that surfaced a dormant bug where the style for the purple icon is no longer shown correctly when the transform menu is hidden. I think at some point someone changed the button from using
disabledtoaria-disabled, and that caused the style to no longer apply.I updated that to fix the issue, and also simplified the css a little.
Testing Instructions
First enable the experiment in Gutenberg > Experiments from wp admin:

Expected: The block icon on the toolbar should be purple
In trunk: The block icon is black
Screenshots or screencast