We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61aad4a commit e30a28dCopy full SHA for e30a28d
docs/reference-guides/core-blocks.md
@@ -770,7 +770,7 @@ Add white space between blocks and customize its height. ([Source](https://githu
770
771
- **Name:** core/spacer
772
- **Category:** design
773
-- **Supports:** anchor
+- **Supports:** anchor, spacing (margin)
774
- **Attributes:** height, width
775
776
## Table
packages/block-library/src/spacer/block.json
@@ -17,7 +17,13 @@
17
},
18
"usesContext": [ "orientation" ],
19
"supports": {
20
- "anchor": true
+ "anchor": true,
21
+ "spacing": {
22
+ "margin": [ "top", "bottom" ],
23
+ "__experimentalDefaultControls": {
24
+ "margin": true
25
+ }
26
27
28
"editorStyle": "wp-block-spacer-editor",
29
"style": "wp-block-spacer"
0 commit comments