diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/blocks/heading/block.json --- a/wp/wp-includes/blocks/heading/block.json Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/blocks/heading/block.json Wed Sep 21 18:19:35 2022 +0200 @@ -1,15 +1,21 @@ { + "apiVersion": 2, "name": "core/heading", + "title": "Heading", "category": "text", + "description": "Introduce new sections and organize content to help visitors (and search engines) understand the structure of your content.", + "keywords": [ "title", "subtitle" ], + "textdomain": "default", "attributes": { - "align": { + "textAlign": { "type": "string" }, "content": { "type": "string", "source": "html", "selector": "h1,h2,h3,h4,h5,h6", - "default": "" + "default": "", + "__experimentalRole": "content" }, "level": { "type": "number", @@ -20,22 +26,20 @@ } }, "supports": { + "align": [ "wide", "full" ], "anchor": true, "className": false, - "lightBlockWrapper": true, - "__experimentalColor": { - "linkColor": true + "color": { + "link": true }, - "__experimentalFontSize": true, - "__experimentalLineHeight": true, - "__experimentalSelector": { - "core/heading/h1": "h1", - "core/heading/h2": "h2", - "core/heading/h3": "h3", - "core/heading/h4": "h4", - "core/heading/h5": "h5", - "core/heading/h6": "h6" + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontWeight": true }, + "__experimentalSelector": "h1,h2,h3,h4,h5,h6", "__unstablePasteTextInline": true - } + }, + "editorStyle": "wp-block-heading-editor", + "style": "wp-block-heading" }