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