diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 84eb3da923e718..b44df884b338c7 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -230,7 +230,7 @@ Add an image or video with a text overlay — great for headers. ([Source](https - **Name:** core/cover - **Category:** media -- **Supports:** align, anchor, color (~~background~~, ~~text~~), spacing (padding), ~~html~~ +- **Supports:** align, anchor, color (~~background~~, ~~text~~), spacing (margin, padding), ~~html~~ - **Attributes:** allowedBlocks, alt, backgroundType, contentPosition, customGradient, customOverlayColor, dimRatio, focalPoint, gradient, hasParallax, id, isDark, isRepeated, minHeight, minHeightUnit, overlayColor, templateLock, url, useFeaturedImage ## Embed diff --git a/packages/block-library/src/cover/block.json b/packages/block-library/src/cover/block.json index f908f544fb2974..fc651831628848 100644 --- a/packages/block-library/src/cover/block.json +++ b/packages/block-library/src/cover/block.json @@ -83,6 +83,7 @@ "html": false, "spacing": { "padding": true, + "margin": [ "top", "bottom" ], "__experimentalDefaultControls": { "padding": true }