Fix pseudo selector block style rendering in the editor#76879
Fix pseudo selector block style rendering in the editor#76879tellthemachines wants to merge 1 commit intotrunkfrom
Conversation
|
Size Change: +813 B (+0.01%) Total Size: 7.73 MB
ℹ️ View Unchanged
|
|
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. |
MaggieCabrera
left a comment
There was a problem hiding this comment.
This looks good to me and tests fine. Thanks for fixing this!!!
|
Flaky tests detected in 578e5ce. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/23680234742
|
What?
Noticed in testing #76491.
When defining hover/focus etc. states for blocks in global styles (currently enabled for Button blocks), the resulting styles aren't reflected in the editor. The original implementation in #71418 only added the logic for the front end. This PR adds the logic needed for the styles to render in the editor too.
Testing Instructions
Screenshots or screencast
Use of AI Tools
Partially coded with copilot - I told it what to do and where to add it, and reviewed the resulting code.