2020-07-01 08:29:03 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-07-01 08:29:03 -04:00
|
|
|
"name": "core/spacer",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Spacer",
|
2020-07-01 08:29:03 -04:00
|
|
|
"category": "design",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Add white space between blocks and customize its height.",
|
|
|
|
"textdomain": "default",
|
2020-07-01 08:29:03 -04:00
|
|
|
"attributes": {
|
|
|
|
"height": {
|
2022-02-17 14:18:25 -05:00
|
|
|
"type": "string",
|
|
|
|
"default": "100px"
|
2021-04-15 11:19:43 -04:00
|
|
|
},
|
|
|
|
"width": {
|
2022-02-17 14:18:25 -05:00
|
|
|
"type": "string"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|
2020-07-07 10:43:35 -04:00
|
|
|
},
|
2021-05-07 07:48:27 -04:00
|
|
|
"usesContext": [ "orientation" ],
|
2020-07-07 10:43:35 -04:00
|
|
|
"supports": {
|
2022-09-20 11:43:29 -04:00
|
|
|
"anchor": true,
|
|
|
|
"spacing": {
|
|
|
|
"margin": [ "top", "bottom" ],
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"margin": true
|
|
|
|
}
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-spacer-editor",
|
|
|
|
"style": "wp-block-spacer"
|
2020-07-01 08:29:03 -04:00
|
|
|
}
|