2021-11-09 03:17:17 +01:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2021-11-09 03:17:17 +01:00
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/post-comments",
|
2022-04-12 17:12:47 +02:00
|
|
|
"title": "Post Comments (deprecated)",
|
2021-11-09 03:17:17 +01:00
|
|
|
"category": "theme",
|
2022-04-12 17:12:47 +02:00
|
|
|
"description": "This block is deprecated. Please use the Comments Query Loop block instead.",
|
2021-11-09 03:17:17 +01:00
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"usesContext": [ "postId", "postType" ],
|
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"align": [ "wide", "full" ],
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2022-04-12 17:12:47 +02:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"inserter": false
|
2021-11-09 03:17:17 +01:00
|
|
|
},
|
2021-12-14 02:57:26 +01:00
|
|
|
"style": [
|
|
|
|
"wp-block-post-comments",
|
|
|
|
"wp-block-buttons",
|
|
|
|
"wp-block-button"
|
2022-04-26 15:42:07 +02:00
|
|
|
],
|
|
|
|
"editorStyle": "wp-block-post-comments-editor"
|
2021-11-09 03:17:17 +01:00
|
|
|
}
|