Skip to content

Commit

Permalink
Added color support for spacer block
Browse files Browse the repository at this point in the history
  • Loading branch information
benazeer-ben committed Oct 24, 2024
1 parent 27b1d9d commit 75b28bf
Show file tree
Hide file tree
Showing 2 changed files with 6 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 @@ -884,7 +884,7 @@ Add white space between blocks and customize its height. ([Source](https://githu

- **Name:** core/spacer
- **Category:** design
- **Supports:** anchor, interactivity (clientNavigation), spacing (margin)
- **Supports:** anchor, color (background, gradients, ~~text~~), interactivity (clientNavigation), spacing (margin)
- **Attributes:** height, width

## Table
Expand Down
5 changes: 5 additions & 0 deletions packages/block-library/src/spacer/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@
"margin": true
}
},
"color": {
"text": false,
"background": true,
"gradients": true
},
"interactivity": {
"clientNavigation": true
}
Expand Down

0 comments on commit 75b28bf

Please sign in to comment.