wp/wp-includes/blocks/group/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/group",
     4 	"name": "core/group",
     5 	"title": "Group",
     5 	"title": "Group",
     6 	"category": "design",
     6 	"category": "design",
     7 	"description": "Gather blocks in a layout container.",
     7 	"description": "Gather blocks in a layout container.",
     8 	"keywords": [ "container", "wrapper", "row", "section" ],
     8 	"keywords": [ "container", "wrapper", "row", "section" ],
    12 			"type": "string",
    12 			"type": "string",
    13 			"default": "div"
    13 			"default": "div"
    14 		},
    14 		},
    15 		"templateLock": {
    15 		"templateLock": {
    16 			"type": [ "string", "boolean" ],
    16 			"type": [ "string", "boolean" ],
    17 			"enum": [ "all", "insert", false ]
    17 			"enum": [ "all", "insert", "contentOnly", false ]
       
    18 		},
       
    19 		"allowedBlocks": {
       
    20 			"type": "array"
    18 		}
    21 		}
    19 	},
    22 	},
    20 	"supports": {
    23 	"supports": {
       
    24 		"__experimentalOnEnter": true,
       
    25 		"__experimentalOnMerge": true,
       
    26 		"__experimentalSettings": true,
    21 		"align": [ "wide", "full" ],
    27 		"align": [ "wide", "full" ],
    22 		"anchor": true,
    28 		"anchor": true,
       
    29 		"ariaLabel": true,
    23 		"html": false,
    30 		"html": false,
       
    31 		"background": {
       
    32 			"backgroundImage": true,
       
    33 			"backgroundSize": true,
       
    34 			"__experimentalDefaultControls": {
       
    35 				"backgroundImage": true
       
    36 			}
       
    37 		},
    24 		"color": {
    38 		"color": {
    25 			"gradients": true,
    39 			"gradients": true,
       
    40 			"heading": true,
       
    41 			"button": true,
    26 			"link": true,
    42 			"link": true,
    27 			"__experimentalDefaultControls": {
    43 			"__experimentalDefaultControls": {
    28 				"background": true,
    44 				"background": true,
    29 				"text": true
    45 				"text": true
    30 			}
    46 			}
    36 			"__experimentalDefaultControls": {
    52 			"__experimentalDefaultControls": {
    37 				"padding": true,
    53 				"padding": true,
    38 				"blockGap": true
    54 				"blockGap": true
    39 			}
    55 			}
    40 		},
    56 		},
       
    57 		"dimensions": {
       
    58 			"minHeight": true
       
    59 		},
    41 		"__experimentalBorder": {
    60 		"__experimentalBorder": {
    42 			"color": true,
    61 			"color": true,
    43 			"radius": true,
    62 			"radius": true,
    44 			"style": true,
    63 			"style": true,
    45 			"width": true,
    64 			"width": true,
    48 				"radius": true,
    67 				"radius": true,
    49 				"style": true,
    68 				"style": true,
    50 				"width": true
    69 				"width": true
    51 			}
    70 			}
    52 		},
    71 		},
       
    72 		"position": {
       
    73 			"sticky": true
       
    74 		},
    53 		"typography": {
    75 		"typography": {
    54 			"fontSize": true,
    76 			"fontSize": true,
    55 			"lineHeight": true,
    77 			"lineHeight": true,
       
    78 			"__experimentalFontFamily": true,
       
    79 			"__experimentalFontWeight": true,
    56 			"__experimentalFontStyle": true,
    80 			"__experimentalFontStyle": true,
    57 			"__experimentalFontWeight": true,
    81 			"__experimentalTextTransform": true,
       
    82 			"__experimentalTextDecoration": true,
    58 			"__experimentalLetterSpacing": true,
    83 			"__experimentalLetterSpacing": true,
    59 			"__experimentalTextTransform": true,
       
    60 			"__experimentalDefaultControls": {
    84 			"__experimentalDefaultControls": {
    61 				"fontSize": true
    85 				"fontSize": true
    62 			}
    86 			}
    63 		},
    87 		},
    64 		"__experimentalLayout": true
    88 		"layout": {
       
    89 			"allowSizingOnChildren": true
       
    90 		},
       
    91 		"interactivity": {
       
    92 			"clientNavigation": true
       
    93 		}
    65 	},
    94 	},
    66 	"editorStyle": "wp-block-group-editor",
    95 	"editorStyle": "wp-block-group-editor",
    67 	"style": "wp-block-group"
    96 	"style": "wp-block-group"
    68 }
    97 }