diff -r 7b1b88e27a20 -r 48c4eec2b7e6 wp/wp-includes/blocks/comments/block.json --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/wp/wp-includes/blocks/comments/block.json Fri Sep 05 18:40:08 2025 +0200 @@ -0,0 +1,52 @@ +{ + "$schema": "https://schemas.wp.org/trunk/block.json", + "apiVersion": 3, + "name": "core/comments", + "title": "Comments", + "category": "theme", + "description": "An advanced block that allows displaying post comments using different visual configurations.", + "textdomain": "default", + "attributes": { + "tagName": { + "type": "string", + "default": "div" + }, + "legacy": { + "type": "boolean", + "default": false + } + }, + "supports": { + "align": [ "wide", "full" ], + "html": false, + "color": { + "gradients": true, + "heading": true, + "link": true, + "__experimentalDefaultControls": { + "background": true, + "text": true, + "link": true + } + }, + "spacing": { + "margin": true, + "padding": true + }, + "typography": { + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalFontWeight": true, + "__experimentalFontStyle": true, + "__experimentalTextTransform": true, + "__experimentalTextDecoration": true, + "__experimentalLetterSpacing": true, + "__experimentalDefaultControls": { + "fontSize": true + } + } + }, + "editorStyle": "wp-block-comments-editor", + "usesContext": [ "postId", "postType" ] +}