-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Update preset styles to use Selectors API #49427
Update preset styles to use Selectors API #49427
Conversation
Flaky tests detected in f0b8497. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/4552095699
|
I'm able to make this work if I update a block that uses the existing However, if I add |
This is working fine as well. |
Related:
What?
Why?
Now the Selectors API has been stabilised, it may be used in place of the old
supports.__experimentalSelector
properties.How?
If a block has a custom selector set via either the Selectors API or the old
__experimentalSelector
supports property, that selector is used.Testing Instructions
Example block markup with block level presets
Example block.json tweak for Group block