Skip to content

Commit

Permalink
tag-cloud: update docs to latest typography support
Browse files Browse the repository at this point in the history
  • Loading branch information
amustaque97 committed Aug 21, 2022
1 parent ca14481 commit dc8814c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
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, spacing (margin, padding), ~~html~~
- **Supports:** align, spacing (margin, padding), typography (lineHeight), ~~html~~
- **Attributes:** largestFontSize, numberOfTags, showTagCounts, smallestFontSize, taxonomy

## Template Part
Expand Down
12 changes: 12 additions & 0 deletions packages/block-library/src/tag-cloud/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"spacing": {
"margin": true,
"padding": true
},
"typography": {
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontFamily": true
}
}
},
"editorStyle": "wp-block-tag-cloud-editor"
Expand Down

0 comments on commit dc8814c

Please sign in to comment.