From f3135f76b9af9f3068cc75157651a4d43608ddc1 Mon Sep 17 00:00:00 2001 From: ramonjd Date: Thu, 18 Aug 2022 20:04:11 +1000 Subject: [PATCH] Adding spacing block supports to tag cloud --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/tag-cloud/block.json | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index f5285fa8149ac9..02fb1406994e7d 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -797,7 +797,7 @@ A cloud of your most used tags. ([Source](https://github.com/WordPress/gutenberg - **Name:** core/tag-cloud - **Category:** widgets -- **Supports:** align, ~~html~~ +- **Supports:** align, spacing (margin, padding), ~~html~~ - **Attributes:** largestFontSize, numberOfTags, showTagCounts, smallestFontSize, taxonomy ## Template Part diff --git a/packages/block-library/src/tag-cloud/block.json b/packages/block-library/src/tag-cloud/block.json index 1594e7d8d8bf32..69e14223f70fb7 100644 --- a/packages/block-library/src/tag-cloud/block.json +++ b/packages/block-library/src/tag-cloud/block.json @@ -36,7 +36,11 @@ ], "supports": { "html": false, - "align": true + "align": true, + "spacing": { + "margin": true, + "padding": true + } }, "editorStyle": "wp-block-tag-cloud-editor" }