diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/blocks/button/block.json --- a/wp/wp-includes/blocks/button/block.json Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/blocks/button/block.json Wed Sep 21 18:19:35 2022 +0200 @@ -1,9 +1,12 @@ { + "apiVersion": 2, "name": "core/button", + "title": "Button", "category": "design", - "parent": [ - "core/buttons" - ], + "parent": [ "core/buttons" ], + "description": "Prompt visitors to take action with a button-style link.", + "keywords": [ "link" ], + "textdomain": "default", "attributes": { "url": { "type": "string", @@ -37,12 +40,6 @@ "placeholder": { "type": "string" }, - "borderRadius": { - "type": "number" - }, - "style": { - "type": "object" - }, "backgroundColor": { "type": "string" }, @@ -51,13 +48,34 @@ }, "gradient": { "type": "string" + }, + "width": { + "type": "number" } }, "supports": { "anchor": true, "align": true, "alignWide": false, + "color": { + "__experimentalSkipSerialization": true, + "gradients": true + }, + "typography": { + "fontSize": true, + "__experimentalFontFamily": true + }, "reusable": false, - "lightBlockWrapper": true - } + "__experimentalBorder": { + "radius": true, + "__experimentalSkipSerialization": true + }, + "__experimentalSelector": ".wp-block-button__link" + }, + "styles": [ + { "name": "fill", "label": "Fill", "isDefault": true }, + { "name": "outline", "label": "Outline" } + ], + "editorStyle": "wp-block-button-editor", + "style": "wp-block-button" }