Skip to content

Commit 48c0f73

Browse files
Add block spacing to post template
1 parent 0712123 commit 48c0f73

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/reference-guides/core-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ Contains the block elements used to render a post, like the title, date, feature
599599

600600
- **Name:** core/post-template
601601
- **Category:** theme
602-
- **Supports:** align (full, wide), anchor, color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
602+
- **Supports:** align (full, wide), anchor, color (background, gradients, link, text), spacing (blockGap), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
603603
- **Attributes:**
604604

605605
## Post Terms

packages/block-library/src/post-template/block.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@
4343
"__experimentalDefaultControls": {
4444
"fontSize": true
4545
}
46+
},
47+
"spacing": {
48+
"blockGap": true
4649
}
4750
},
4851
"style": "wp-block-post-template",

0 commit comments

Comments
 (0)