2021-11-08 21:17:17 -05:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-11-08 21:17:17 -05:00
|
|
|
"apiVersion": 2,
|
2022-09-20 11:43:29 -04:00
|
|
|
"name": "core/comments",
|
|
|
|
"title": "Comments",
|
2021-11-08 21:17:17 -05:00
|
|
|
"category": "theme",
|
2022-09-20 11:43:29 -04:00
|
|
|
"description": "An advanced block that allows displaying post comments using different visual configurations.",
|
2021-11-08 21:17:17 -05:00
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
2022-09-20 11:43:29 -04:00
|
|
|
"tagName": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "div"
|
|
|
|
},
|
|
|
|
"legacy": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": [ "wide", "full" ],
|
2022-09-20 11:43:29 -04:00
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true,
|
|
|
|
"link": true
|
|
|
|
}
|
|
|
|
},
|
2021-11-08 21:17:17 -05:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalFontFamily": true,
|
2021-11-08 21:17:17 -05:00
|
|
|
"__experimentalFontWeight": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalFontStyle": true,
|
2021-11-08 21:17:17 -05:00
|
|
|
"__experimentalTextTransform": true,
|
2022-09-20 11:43:29 -04:00
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
2021-11-08 21:17:17 -05:00
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
2022-09-20 11:43:29 -04:00
|
|
|
}
|
2021-11-08 21:17:17 -05:00
|
|
|
},
|
2022-09-20 11:43:29 -04:00
|
|
|
"editorStyle": "wp-block-comments-editor",
|
|
|
|
"usesContext": [ "postId", "postType" ]
|
2021-11-08 21:17:17 -05:00
|
|
|
}
|