wp/wp-includes/blocks/post-terms/block.json
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 {
     1 {
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     2 	"$schema": "https://schemas.wp.org/trunk/block.json",
     3 	"apiVersion": 2,
     3 	"apiVersion": 3,
     4 	"name": "core/post-terms",
     4 	"name": "core/post-terms",
     5 	"title": "Post Terms",
     5 	"title": "Post Terms",
     6 	"category": "theme",
     6 	"category": "theme",
     7 	"description": "Post terms.",
     7 	"description": "Post terms.",
     8 	"textdomain": "default",
     8 	"textdomain": "default",
    14 			"type": "string"
    14 			"type": "string"
    15 		},
    15 		},
    16 		"separator": {
    16 		"separator": {
    17 			"type": "string",
    17 			"type": "string",
    18 			"default": ", "
    18 			"default": ", "
       
    19 		},
       
    20 		"prefix": {
       
    21 			"type": "string",
       
    22 			"default": ""
       
    23 		},
       
    24 		"suffix": {
       
    25 			"type": "string",
       
    26 			"default": ""
    19 		}
    27 		}
    20 	},
    28 	},
    21 	"usesContext": [ "postId", "postType" ],
    29 	"usesContext": [ "postId", "postType" ],
    22 	"supports": {
    30 	"supports": {
    23 		"html": false,
    31 		"html": false,
    28 				"background": true,
    36 				"background": true,
    29 				"text": true,
    37 				"text": true,
    30 				"link": true
    38 				"link": true
    31 			}
    39 			}
    32 		},
    40 		},
       
    41 		"spacing": {
       
    42 			"margin": true,
       
    43 			"padding": true
       
    44 		},
    33 		"typography": {
    45 		"typography": {
       
    46 			"fontSize": true,
    34 			"lineHeight": true,
    47 			"lineHeight": true,
    35 			"fontSize": true,
    48 			"__experimentalFontFamily": true,
       
    49 			"__experimentalFontWeight": true,
    36 			"__experimentalFontStyle": true,
    50 			"__experimentalFontStyle": true,
    37 			"__experimentalFontWeight": true,
    51 			"__experimentalTextTransform": true,
       
    52 			"__experimentalTextDecoration": true,
    38 			"__experimentalLetterSpacing": true,
    53 			"__experimentalLetterSpacing": true,
    39 			"__experimentalTextTransform": true,
       
    40 			"__experimentalDefaultControls": {
    54 			"__experimentalDefaultControls": {
    41 				"fontSize": true
    55 				"fontSize": true
    42 			}
    56 			}
       
    57 		},
       
    58 		"interactivity": {
       
    59 			"clientNavigation": true
    43 		}
    60 		}
    44 	},
    61 	},
    45 	"style": "wp-block-post-terms"
    62 	"style": "wp-block-post-terms"
    46 }
    63 }