-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
Related to:
- Stabilize Typography Block Supports Keys #63001 and
- Tracking: Addressing Design Tooling Consistency #43241
Borrowing from the format of #63001, this issue outlines the tasks needed to stabilize the __experimentalBorder support. Doing so will make it easier for third-party extenders to confidently build custom blocks that provide border support and modify existing blocks with this support.
Note that in order to provide backward compatibility for block plugins out in the wild, fallback support for the existing __experimental prefix should be provided.
Stabilize the following border block support and associated properties:
__experimentalBorder→border__experimentalBorder.color→border.color__experimentalBorder.radius→border.radius__experimentalBorder.style→border.style__experimentalBorder.width→border.width
Tasks
- Update PHP block support code in
lib/block-supports/border.phpto use the non__experimentalprefix - Update the JS implementations of the border block supports to point to the non
__experimentalprefix - Update the
block.jsonschema to support the non__experimentalprefix - Update the core blocks'
block.jsonfiles to use the non__experimentalprefixes - Update the supports documentation to include a section for border support.
- Update the
block.jsonschema to remove the__experimentalprefix. Note that the code in WordPress should still support the__experimentalprefix, but at this stage, the experimental prefix will be treated as deprecated.
The PR for this stabilization effort should follow the approach used to stabilize the typography supports in #63401.
andrewserong, hadamlenz, hbhalodia and schlotterer
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
Todo