Make WordPress Core

Changes between Version 3 and Version 5 of Ticket #61728


Ignore:
Timestamp:
11/28/2024 07:19:22 AM (7 months ago)
Author:
aaronrobertshaw
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #61728

    • Property Summary changed from Stabilize experimental Typography block support keys to Stabilize experimental block supports including typography, border, and common flags
    • Property Version changed from 6.7 to trunk
    • Property Milestone changed from Future Release to 6.8
  • Ticket #61728 – Description

    v3 v5  
    1 For WordPress 6.8, stabilize the experimental Typography block support keys. The current experimental features and mapping to stable keys are:
     1For WordPress 6.8, stabilize the experimental block support keys.
     2
     3The only current block support requiring stabilization is border support, its mapping to a stable key is: `__experimentalBorder` → `border`.
     4
     5Typography support has several experimental features that will be mapped to stable keys as follows:
    26
    37* `__experimentalFontFamily` → `fontFamily`
     
    711* `__experimentalLetterSpacing` → `letterSpacing`
    812* `__experimentalTextTransform` → `textTransform`
    9 * `__experimentalWritingMode` → `writingMode`
    1013
    11 This work is being tracked in the Gutenberg repo in: https://github.com/WordPress/gutenberg/issues/63001
     14There are also a couple of shared experimental support flags common across block supports. They will be mapped to stable keys as follows:
    1215
    13 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.
     16* `__experimentalSkipSerialization` → `skipSerialization`
     17* `__experimentalDefaultControls` → `defaultControls`
    1418
    15 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.
     19This work is being tracked in the Gutenberg repo in:
     20
     21- https://github.com/WordPress/gutenberg/issues/63001
     22- https://github.com/WordPress/gutenberg/issues/64312
     23
     24These updates will require syncing code from Gutenberg however, a slightly different implementation in core will be required to avoid the need for filters to apply the transformation of experimental to stable properties.
     25
     26The overall goal is to stabilize the experimental block support features. They have been in use for multiple releases, are ready for wider documentation, and are unlikely to change.
     27
     28This issue will track the backporting of changes from the following Gutenberg PRs:
     29
     30Typography Stabilization: https://github.com/WordPress/gutenberg/pull/63401
     31Border Stabilization: https://github.com/WordPress/gutenberg/pull/66918
     32Common Flag Stabilization: https://github.com/WordPress/gutenberg/pull/67018