-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Stabilize Border Block Support Keys #64312
Copy link
Copy link
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
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
Fields
Give feedbackNo fields configured for issues without a type.
Projects
StatusShow more project fields
Todo
Related to:
Borrowing from the format of #63001, this issue outlines the tasks needed to stabilize the
__experimentalBordersupport. 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
__experimentalprefix 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.widthTasks
lib/block-supports/border.phpto use the non__experimentalprefix__experimentalprefixblock.jsonschema to support the non__experimentalprefixblock.jsonfiles to use the non__experimentalprefixesblock.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.