Skip to content

Commit

Permalink
Adding spacing block supports to tag cloud (#43367)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Aug 18, 2022
1 parent 91c2e10 commit 1ec3395
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/reference-guides/core-blocks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion packages/block-library/src/tag-cloud/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@
],
"supports": {
"html": false,
"align": true
"align": true,
"spacing": {
"margin": true,
"padding": true
}
},
"editorStyle": "wp-block-tag-cloud-editor"
}

0 comments on commit 1ec3395

Please sign in to comment.