From 1784e33689ee7f9749bf36f8473478ad4cae776b Mon Sep 17 00:00:00 2001 From: ramonjd Date: Thu, 18 Aug 2022 20:40:15 +1000 Subject: [PATCH] Adding spacing block supports to term description --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/term-description/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 f5285fa8149ac9..45c37884f44cee 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -815,7 +815,7 @@ Display the description of categories, tags and custom taxonomies when viewing a - **Name:** core/term-description - **Category:** theme -- **Supports:** align (full, wide), color (background, link, text), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** align (full, wide), color (background, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** textAlign ## Text Columns (deprecated) diff --git a/packages/block-library/src/term-description/block.json b/packages/block-library/src/term-description/block.json index eac2aba747803b..3e6641725940f9 100644 --- a/packages/block-library/src/term-description/block.json +++ b/packages/block-library/src/term-description/block.json @@ -21,6 +21,10 @@ "text": true } }, + "spacing": { + "padding": true, + "margin": true + }, "typography": { "fontSize": true, "lineHeight": true,