Skip to content

Commit d5d8533

Browse files
authored
Post Content: Add color controls (#51326)
1 parent 3add916 commit d5d8533

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

‎docs/reference-guides/core-blocks.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ Displays the contents of a post or page. ([Source](https://github.com/WordPress/
563563

564564
- **Name:** core/post-content
565565
- **Category:** theme
566-
- **Supports:** align (full, wide), dimensions (minHeight), layout, typography (fontSize, lineHeight), ~~html~~
566+
- **Supports:** align (full, wide), color (background, gradients, link, text), dimensions (minHeight), layout, typography (fontSize, lineHeight), ~~html~~
567567
- **Attributes:**
568568

569569
## Post Date

‎packages/block-library/src/post-content/block.json‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@
1414
"dimensions": {
1515
"minHeight": true
1616
},
17+
"color": {
18+
"gradients": true,
19+
"link": true,
20+
"__experimentalDefaultControls": {
21+
"background": false,
22+
"text": false
23+
}
24+
},
1725
"typography": {
1826
"fontSize": true,
1927
"lineHeight": true,

0 commit comments

Comments
 (0)