[wp-trac] [WordPress Trac] #61728: Stabilize experimental Typography block support keys

WordPress Trac noreply at wordpress.org
Wed Sep 18 00:03:42 UTC 2024


#61728: Stabilize experimental Typography block support keys
--------------------------+-----------------------------
 Reporter:  andrewserong  |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Editor        |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+-----------------------------
Changes (by andrewserong):

 * milestone:  6.7 => Future Release


Old description:

> 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.

New description:

 For WordPress 6.8, 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.

--

Comment:

 Just updating the milestone and description for this one as this change
 has been punted to WP 6.8.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/61728#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list