From da684ff2bc3584815836a78ca2d9e78d5b776242 Mon Sep 17 00:00:00 2001 From: ramonjd Date: Thu, 18 Aug 2022 19:35:31 +1000 Subject: [PATCH] Adding spacing block supports to video block --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/video/block.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index b8beeef9679003..02fe1e962d1048 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -842,7 +842,7 @@ Embed a video from your media library or upload a new one. ([Source](https://git - **Name:** core/video - **Category:** media -- **Supports:** align, anchor +- **Supports:** align, anchor, spacing (margin, padding) - **Attributes:** autoplay, caption, controls, id, loop, muted, playsInline, poster, preload, src, tracks diff --git a/packages/block-library/src/video/block.json b/packages/block-library/src/video/block.json index f609996d858529..1050fe2d69f156 100644 --- a/packages/block-library/src/video/block.json +++ b/packages/block-library/src/video/block.json @@ -77,6 +77,10 @@ "supports": { "anchor": true, "align": true, + "spacing": { + "margin": true, + "padding": true + }, "__experimentalStyle": { "spacing": { "margin": "0 0 1em 0"