-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Package] Block library/packages/block-library/packages/block-library[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.
Description
Part of:
- Tracking: Addressing Design Tooling Consistency #43241 and
- Tracking: Typography Design Tools Consistency #43242
This issues tracks progress towards stabilizing the typography block support. Note that in order to provide backwards compatibility for block plugins out in the wild, fallback support for the existing __experimental
prefixes should be provided.
Stabilize the following typography block supports:
__experimentalFontFamily
→fontFamily
__experimentalTextDecoration
→textDecoration
__experimentalFontStyle
→fontStyle
__experimentalFontWeight
→fontWeight
__experimentalLetterSpacing
→letterSpacing
__experimentalTextTransform
→textTransform
__experimentalWritingMode
→writingMode
Tasks
- Update PHP block support code in
lib/block-supports/typography.php
to use the non__experimental
prefix, falling back to the__experimental
prefix if available. - Update the JS implementations of the typography block supports to point to the non
__experimental
prefix, falling back to the__experimental
prefix if available. - Update the
block.json
schema to support the non__experimental
prefix - Update the core blocks'
block.json
files to use the non__experimental
prefixes - Update the supports documentation to include the new non prefixed versions.
In my opinion, in order to provide the widest possible support for block plugins, I think it could be valuable to provide fallback support for the __experimental
in the long-term. In other words, when implementing the fallback ideas above, let's do so in a way that's easy to maintain.
t-hamano, annezazu, noisysocks, fabiankaegy, bacoords and 3 more
Metadata
Metadata
Assignees
Labels
[Feature] Design ToolsTools that impact the appearance of blocks both to expand the number of tools and improve the experiTools that impact the appearance of blocks both to expand the number of tools and improve the experi[Package] Block library/packages/block-library/packages/block-library[Type] IterationScoped iteration of an effort from a tracking issue or overview issue ideally for a major release.Scoped iteration of an effort from a tracking issue or overview issue ideally for a major release.
Type
Projects
Status
In Progress