2022-04-26 15:42:07 +02:00
|
|
|
{
|
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
2022-04-26 15:42:07 +02:00
|
|
|
"name": "core/post-comments-form",
|
2023-09-26 16:23:26 +02:00
|
|
|
"title": "Comments Form",
|
2022-04-26 15:42:07 +02:00
|
|
|
"category": "theme",
|
|
|
|
"description": "Display a post's comments form.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"usesContext": [ "postId", "postType" ],
|
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
2023-09-26 16:23:26 +02:00
|
|
|
"heading": true,
|
2022-04-26 15:42:07 +02:00
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
|
|
|
},
|
2023-02-07 08:04:52 +01:00
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
},
|
2022-04-26 15:42:07 +02:00
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-post-comments-form-editor",
|
|
|
|
"style": [
|
|
|
|
"wp-block-post-comments-form",
|
|
|
|
"wp-block-buttons",
|
|
|
|
"wp-block-button"
|
|
|
|
]
|
|
|
|
}
|