wp/wp-includes/blocks/post-comments-form/block.json
changeset 19 3d72ae0968f4
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
       
     1 {
       
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
       
     3 	"apiVersion": 2,
       
     4 	"name": "core/post-comments-form",
       
     5 	"title": "Post Comments Form",
       
     6 	"category": "theme",
       
     7 	"description": "Display a post's comments form.",
       
     8 	"textdomain": "default",
       
     9 	"attributes": {
       
    10 		"textAlign": {
       
    11 			"type": "string"
       
    12 		}
       
    13 	},
       
    14 	"usesContext": [ "postId", "postType" ],
       
    15 	"supports": {
       
    16 		"html": false,
       
    17 		"color": {
       
    18 			"gradients": true,
       
    19 			"link": true,
       
    20 			"__experimentalDefaultControls": {
       
    21 				"background": true,
       
    22 				"text": true
       
    23 			}
       
    24 		},
       
    25 		"typography": {
       
    26 			"fontSize": true,
       
    27 			"lineHeight": true,
       
    28 			"__experimentalFontStyle": true,
       
    29 			"__experimentalFontWeight": true,
       
    30 			"__experimentalLetterSpacing": true,
       
    31 			"__experimentalTextTransform": true,
       
    32 			"__experimentalDefaultControls": {
       
    33 				"fontSize": true
       
    34 			}
       
    35 		}
       
    36 	},
       
    37 	"editorStyle": "wp-block-post-comments-form-editor",
       
    38 	"style": [
       
    39 		"wp-block-post-comments-form",
       
    40 		"wp-block-buttons",
       
    41 		"wp-block-button"
       
    42 	]
       
    43 }