Skip to content

Commit

Permalink
Post Content: Add color controls
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian committed Jun 8, 2023
1 parent 3cef94b commit a21606a
Show file tree
Hide file tree
Showing 2 changed files with 9 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 @@ -554,7 +554,7 @@ Displays the contents of a post or page. ([Source](https://github.com/WordPress/

- **Name:** core/post-content
- **Category:** theme
- **Supports:** align (full, wide), anchor, dimensions (minHeight), typography (fontSize, lineHeight), ~~html~~
- **Supports:** align (full, wide), anchor, color (background, gradients, link, text), dimensions (minHeight), typography (fontSize, lineHeight), ~~html~~
- **Attributes:**

## Post Date
Expand Down
8 changes: 8 additions & 0 deletions packages/block-library/src/post-content/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@
"dimensions": {
"minHeight": true
},
"color": {
"gradients": true,
"link": true,
"__experimentalDefaultControls": {
"background": false,
"text": false
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
Expand Down

0 comments on commit a21606a

Please sign in to comment.