wp/wp-includes/blocks/comment-author-name/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/comment-author-name",
       
     5 	"title": "Comment Author Name",
       
     6 	"category": "theme",
       
     7 	"ancestor": [ "core/comment-template" ],
       
     8 	"description": "Displays the name of the author of the comment.",
       
     9 	"textdomain": "default",
       
    10 	"attributes": {
       
    11 		"isLink": {
       
    12 			"type": "boolean",
       
    13 			"default": true
       
    14 		},
       
    15 		"linkTarget": {
       
    16 			"type": "string",
       
    17 			"default": "_self"
       
    18 		},
       
    19 		"textAlign": {
       
    20 			"type": "string"
       
    21 		}
       
    22 	},
       
    23 	"usesContext": [ "commentId" ],
       
    24 	"supports": {
       
    25 		"html": false,
       
    26 		"spacing": {
       
    27 			"margin": true,
       
    28 			"padding": true
       
    29 		},
       
    30 		"color": {
       
    31 			"gradients": true,
       
    32 			"link": true,
       
    33 			"__experimentalDefaultControls": {
       
    34 				"background": true,
       
    35 				"text": true,
       
    36 				"link": true
       
    37 			}
       
    38 		},
       
    39 		"typography": {
       
    40 			"fontSize": true,
       
    41 			"lineHeight": true,
       
    42 			"__experimentalFontFamily": true,
       
    43 			"__experimentalFontWeight": true,
       
    44 			"__experimentalFontStyle": true,
       
    45 			"__experimentalTextTransform": true,
       
    46 			"__experimentalLetterSpacing": true
       
    47 		}
       
    48 	}
       
    49 }