summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/post-comments-form/block.json
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/post-comments-form/block.json')
-rw-r--r--wp-includes/blocks/post-comments-form/block.json48
1 files changed, 48 insertions, 0 deletions
diff --git a/wp-includes/blocks/post-comments-form/block.json b/wp-includes/blocks/post-comments-form/block.json
new file mode 100644
index 0000000..ff157be
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/block.json
@@ -0,0 +1,48 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/post-comments-form",
+ "title": "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,
+ "heading": true,
+ "link": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ }
+ },
+ "spacing": {
+ "margin": true,
+ "padding": 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"
+ ]
+}