Skip to content

Commit

Permalink
Adding padding support to headings. (#43454)
Browse files Browse the repository at this point in the history
  • Loading branch information
ndiego authored Aug 22, 2022
1 parent 5bc6d33 commit f4e0136
Show file tree
Hide file tree
Showing 2 changed files with 3 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 @@ -284,7 +284,7 @@ Introduce new sections and organize content to help visitors (and search engines

- **Name:** core/heading
- **Category:** text
- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), spacing (margin), typography (fontSize, lineHeight), ~~className~~
- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), spacing (margin, padding), typography (fontSize, lineHeight), ~~className~~
- **Attributes:** content, level, placeholder, textAlign

## Home Link
Expand Down
3 changes: 2 additions & 1 deletion packages/block-library/src/heading/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
}
},
"spacing": {
"margin": true
"margin": true,
"padding": true
},
"typography": {
"fontSize": true,
Expand Down

0 comments on commit f4e0136

Please sign in to comment.