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