diff -r 34716fd837a4 -r be944660c56a wp/wp-includes/blocks/code/block.json --- a/wp/wp-includes/blocks/code/block.json Tue Dec 15 15:52:01 2020 +0100 +++ b/wp/wp-includes/blocks/code/block.json Wed Sep 21 18:19:35 2022 +0200 @@ -1,16 +1,22 @@ { + "apiVersion": 2, "name": "core/code", + "title": "Code", "category": "text", + "description": "Display code snippets that respect your spacing and tabs.", + "textdomain": "default", "attributes": { "content": { "type": "string", - "source": "text", + "source": "html", "selector": "code" } }, "supports": { "anchor": true, - "html": false, - "lightBlockWrapper": true - } + "typography": { + "fontSize": true + } + }, + "style": "wp-block-code" }