Skip to content

Commit

Permalink
Adding spacing block supports to term description (#43372)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Aug 19, 2022
1 parent 49cf0ab commit ed5c159
Show file tree
Hide file tree
Showing 2 changed files with 5 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 @@ -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)
Expand Down
4 changes: 4 additions & 0 deletions packages/block-library/src/term-description/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
"text": true
}
},
"spacing": {
"padding": true,
"margin": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
Expand Down

0 comments on commit ed5c159

Please sign in to comment.