From 05d7e8d97170b8e4c328c8eae326546e36bd8636 Mon Sep 17 00:00:00 2001 From: Ramon Date: Fri, 19 Aug 2022 10:45:36 +1000 Subject: [PATCH] Adding spacing block supports to table block (#43370) --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/table/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 263906e0859231..40575cdf27dc2f 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -779,7 +779,7 @@ Create structured content in rows and columns to display information. ([Source]( - **Name:** core/table - **Category:** text -- **Supports:** align, anchor, color (background, gradients, text), typography (fontSize, lineHeight) +- **Supports:** align, anchor, color (background, gradients, text), spacing (margin, padding), typography (fontSize, lineHeight) - **Attributes:** body, caption, foot, hasFixedLayout, head ## Table of Contents diff --git a/packages/block-library/src/table/block.json b/packages/block-library/src/table/block.json index 8591813d676292..6fb8a791647227 100644 --- a/packages/block-library/src/table/block.json +++ b/packages/block-library/src/table/block.json @@ -134,6 +134,10 @@ "text": true } }, + "spacing": { + "margin": true, + "padding": true + }, "typography": { "fontSize": true, "lineHeight": true,