[wp-trac] [WordPress Trac] #56094: Allow the style property of block.json to be an array
WordPress Trac
noreply at wordpress.org
Wed Jun 29 12:29:36 UTC 2022
#56094: Allow the style property of block.json to be an array
--------------------------+--------------------------------------
Reporter: zieladam | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version:
Severity: normal | Keywords: has-patch has-unit-tests
Focuses: |
--------------------------+--------------------------------------
## What problem does this PR solve?
In https://github.com/WordPress/gutenberg/pull/34180 we moved block CSS to
`blockJson.supports.__experimentalStyle`. This ticket is about getting rid
of that experimental property and supporting arrays in `blockJson.style.
The goal is to only have a single location where styles are defined.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56094>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list