Skip to content

Commit

Permalink
Add block spacing to post template
Browse files Browse the repository at this point in the history
  • Loading branch information
tellthemachines committed Apr 11, 2023
1 parent bec3923 commit 4865f98
Show file tree
Hide file tree
Showing 2 changed files with 4 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 @@ -572,7 +572,7 @@ Contains the block elements used to render a post, like the title, date, feature

- **Name:** core/post-template
- **Category:** theme
- **Supports:** align, anchor, color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Supports:** align, anchor, color (background, gradients, link, text), spacing (blockGap), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:**

## Post Terms
Expand Down
3 changes: 3 additions & 0 deletions packages/block-library/src/post-template/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
"__experimentalDefaultControls": {
"fontSize": true
}
},
"spacing": {
"blockGap": true
}
},
"style": "wp-block-post-template",
Expand Down

0 comments on commit 4865f98

Please sign in to comment.