diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/blocks/code/block.json --- a/wp/wp-includes/blocks/code/block.json Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/blocks/code/block.json Tue Sep 27 16:37:53 2022 +0200 @@ -1,4 +1,5 @@ { + "$schema": "https://schemas.wp.org/trunk/block.json", "apiVersion": 2, "name": "core/code", "title": "Code", @@ -15,7 +16,38 @@ "supports": { "anchor": true, "typography": { - "fontSize": true + "fontSize": true, + "lineHeight": true, + "__experimentalFontStyle": true, + "__experimentalFontWeight": true, + "__experimentalLetterSpacing": true, + "__experimentalTextTransform": true, + "__experimentalDefaultControls": { + "fontSize": true + } + }, + "spacing": { + "margin": [ "top", "bottom" ], + "padding": true + }, + "__experimentalBorder": { + "radius": true, + "color": true, + "width": true, + "style": true, + "__experimentalDefaultControls": { + "width": true, + "color": true + } + }, + "color": { + "text": true, + "background": true, + "gradients": true, + "__experimentalDefaultControls": { + "background": true, + "text": true + } } }, "style": "wp-block-code"