wp/wp-includes/blocks/spacer/block.json
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
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/spacer",
     4 	"name": "core/spacer",
     5 	"title": "Spacer",
     5 	"title": "Spacer",
     6 	"category": "design",
     6 	"category": "design",
     7 	"description": "Add white space between blocks and customize its height.",
     7 	"description": "Add white space between blocks and customize its height.",
     8 	"textdomain": "default",
     8 	"textdomain": "default",
    15 			"type": "string"
    15 			"type": "string"
    16 		}
    16 		}
    17 	},
    17 	},
    18 	"usesContext": [ "orientation" ],
    18 	"usesContext": [ "orientation" ],
    19 	"supports": {
    19 	"supports": {
    20 		"anchor": true
    20 		"anchor": true,
       
    21 		"spacing": {
       
    22 			"margin": [ "top", "bottom" ],
       
    23 			"__experimentalDefaultControls": {
       
    24 				"margin": true
       
    25 			}
       
    26 		},
       
    27 		"interactivity": {
       
    28 			"clientNavigation": true
       
    29 		}
    21 	},
    30 	},
    22 	"editorStyle": "wp-block-spacer-editor",
    31 	"editorStyle": "wp-block-spacer-editor",
    23 	"style": "wp-block-spacer"
    32 	"style": "wp-block-spacer"
    24 }
    33 }