2022-04-26 09:42:07 -04:00
|
|
|
{
|
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
|
|
|
"apiVersion": 2,
|
|
|
|
"name": "core/post-comments-form",
|
|
|
|
"title": "Post Comments Form",
|
|
|
|
"category": "theme",
|
|
|
|
"description": "Display a post's comments form.",
|
|
|
|
"textdomain": "default",
|
|
|
|
"attributes": {
|
|
|
|
"textAlign": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"usesContext": [ "postId", "postType" ],
|
|
|
|
"supports": {
|
|
|
|
"html": false,
|
|
|
|
"color": {
|
|
|
|
"gradients": true,
|
|
|
|
"link": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"background": true,
|
|
|
|
"text": true
|
|
|
|
}
|
|
|
|
},
|
2023-02-07 02:04:52 -05:00
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
},
|
2022-04-26 09:42:07 -04: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"
|
|
|
|
]
|
|
|
|
}
|