diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 08367cb90f925..8f57ca3c6b977 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -725,7 +725,7 @@ Create a break between ideas or sections with a horizontal separator. ([Source]( - **Name:** core/separator - **Category:** design -- **Supports:** align (center, full, wide), anchor, color (background, gradients, ~~text~~) +- **Supports:** align (center, full, wide), anchor, color (background, gradients, ~~text~~), spacing (margin) - **Attributes:** opacity ## Shortcode diff --git a/packages/block-library/src/separator/block.json b/packages/block-library/src/separator/block.json index 384d3826f34ed..ea37e4ea41065 100644 --- a/packages/block-library/src/separator/block.json +++ b/packages/block-library/src/separator/block.json @@ -24,6 +24,9 @@ "__experimentalDefaultControls": { "background": true } + }, + "spacing": { + "margin": [ "top", "bottom" ] } }, "styles": [