summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/spacer/block.json
blob: 447ea99cc0b67758862260aca1bf8a3530f1106f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
{
	"$schema": "https://schemas.wp.org/trunk/block.json",
	"apiVersion": 3,
	"name": "core/spacer",
	"title": "Spacer",
	"category": "design",
	"description": "Add white space between blocks and customize its height.",
	"textdomain": "default",
	"attributes": {
		"height": {
			"type": "string",
			"default": "100px"
		},
		"width": {
			"type": "string"
		}
	},
	"usesContext": [ "orientation" ],
	"supports": {
		"anchor": true,
		"spacing": {
			"margin": [ "top", "bottom" ],
			"__experimentalDefaultControls": {
				"margin": true
			}
		},
		"interactivity": {
			"clientNavigation": true
		}
	},
	"editorStyle": "wp-block-spacer-editor",
	"style": "wp-block-spacer"
}