[wp-trac] [WordPress Trac] #61728: Stabilize experimental Typography block support keys
WordPress Trac
noreply at wordpress.org
Tue Jul 23 06:53:26 UTC 2024
#61728: Stabilize experimental Typography block support keys
--------------------------+--------------------
Reporter: andrewserong | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 6.7
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+--------------------
For WordPress 6.7, stabilize the experimental Typography block support
keys. The current experimental features and mapping to stable keys are:
* `__experimentalFontFamily` → `fontFamily`
* `__experimentalTextDecoration` → `textDecoration`
* `__experimentalFontStyle` → `fontStyle`
* `__experimentalFontWeight` → `fontWeight`
* `__experimentalLetterSpacing` → `letterSpacing`
* `__experimentalTextTransform` → `textTransform`
* `__experimentalWritingMode` → `writingMode`
This work is being tracked in the Gutenberg repo in:
https://github.com/WordPress/gutenberg/issues/63001
It will require syncing code from Gutenberg, but also a slightly different
implementation in core so that we don't need to use filters to apply the
transformation from experimental to stable properties.
The overall goal is to stabilize the experimental typography features in
block supports, as they have been in use for multiple releases and are
ready for wider documentation, and are unlikely to change.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/61728>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list