wp/wp-includes/blocks/post-comments/block.json
changeset 19 3d72ae0968f4
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",
       
     5 	"title": "Post Comments (deprecated)",
       
     6 	"category": "theme",
       
     7 	"description": "This block is deprecated. Please use the Comments Query Loop block instead.",
       
     8 	"textdomain": "default",
       
     9 	"attributes": {
       
    10 		"textAlign": {
       
    11 			"type": "string"
       
    12 		}
       
    13 	},
       
    14 	"usesContext": [ "postId", "postType" ],
       
    15 	"supports": {
       
    16 		"html": false,
       
    17 		"align": [ "wide", "full" ],
       
    18 		"typography": {
       
    19 			"fontSize": true,
       
    20 			"lineHeight": true,
       
    21 			"__experimentalFontStyle": true,
       
    22 			"__experimentalFontWeight": true,
       
    23 			"__experimentalLetterSpacing": true,
       
    24 			"__experimentalTextTransform": true,
       
    25 			"__experimentalDefaultControls": {
       
    26 				"fontSize": true
       
    27 			}
       
    28 		},
       
    29 		"color": {
       
    30 			"gradients": true,
       
    31 			"link": true,
       
    32 			"__experimentalDefaultControls": {
       
    33 				"background": true,
       
    34 				"text": true
       
    35 			}
       
    36 		},
       
    37 		"inserter": false
       
    38 	},
       
    39 	"style": [
       
    40 		"wp-block-post-comments",
       
    41 		"wp-block-buttons",
       
    42 		"wp-block-button"
       
    43 	],
       
    44 	"editorStyle": "wp-block-post-comments-editor"
       
    45 }