2022-09-20 11:43:29 -04:00
|
|
|
{
|
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
|
|
"apiVersion": 2,
|
|
|
|
"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" ],
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
|
|
|
},
|
2023-03-01 07:05:03 -05:00
|
|
|
"html": false,
|
2023-02-07 02:04:52 -05:00
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
},
|
2022-09-20 11:43:29 -04:00
|
|
|
"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" ]
|
|
|
|
}
|