mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-25 10:38:11 +01:00
b9f396743c
Included cherry-picked commits from the Gutenberg plugin that fix bugs discovere after WordPress 6.0 Beta 2. Props zieladam, ndiego. See #55567. Built from https://develop.svn.wordpress.org/trunk@53278 git-svn-id: http://core.svn.wordpress.org/trunk@52867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
44 lines
952 B
JSON
44 lines
952 B
JSON
{
|
|
"$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
|
|
}
|
|
},
|
|
"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"
|
|
]
|
|
}
|