[wp-trac] [WordPress Trac] #60453: Block Styles: Fix block style variation selector generation
WordPress Trac
noreply at wordpress.org
Wed Feb 7 06:19:59 UTC 2024
#60453: Block Styles: Fix block style variation selector generation
-----------------------------+-----------------------------
Reporter: aaronrobertshaw | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords: gutenberg-merge
Focuses: |
-----------------------------+-----------------------------
This ticket tracks the backporting of PHP files for the following
Gutenberg changes:
https://github.com/WordPress/gutenberg/pull/58051
These changes fix the generation of selectors for block style variations
which could previously invalid CSS selectors e.g. `.is-style-darkp`
instead of `p.is-style-dark` if the block with the variation used an
element tag as it's base selector.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60453>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list