diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 6c37192d1799d..4280b5ff370e9 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -770,7 +770,7 @@ Add white space between blocks and customize its height. ([Source](https://githu - **Name:** core/spacer - **Category:** design -- **Supports:** anchor +- **Supports:** anchor, spacing (margin) - **Attributes:** height, width ## Table diff --git a/packages/block-library/src/spacer/block.json b/packages/block-library/src/spacer/block.json index ed54263b879f1..021ff9f4a2de3 100644 --- a/packages/block-library/src/spacer/block.json +++ b/packages/block-library/src/spacer/block.json @@ -17,7 +17,13 @@ }, "usesContext": [ "orientation" ], "supports": { - "anchor": true + "anchor": true, + "spacing": { + "margin": [ "top", "bottom" ], + "__experimentalDefaultControls": { + "margin": true + } + } }, "editorStyle": "wp-block-spacer-editor", "style": "wp-block-spacer"