Skip to content

Commit

Permalink
Enabling background color and gradients for the gallery (#43294)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramonjd authored Aug 17, 2022
1 parent df7e724 commit 2284037
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 @@ -266,7 +266,7 @@ Display multiple images in a rich gallery. ([Source](https://github.com/WordPres

- **Name:** core/gallery
- **Category:** media
- **Supports:** align, anchor, spacing (blockGap), units (em, px, rem, vh, vw), ~~html~~
- **Supports:** align, anchor, color (background, gradients, ~~text~~), spacing (blockGap), units (em, px, rem, vh, vw), ~~html~~
- **Attributes:** allowResize, caption, columns, fixedHeight, ids, imageCrop, images, linkTarget, linkTo, shortCodeTransforms, sizeSlug

## Group
Expand Down
5 changes: 5 additions & 0 deletions packages/block-library/src/gallery/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@
"blockGap": true
}
},
"color": {
"text": false,
"background": true,
"gradients": true
},
"__experimentalLayout": {
"allowSwitching": false,
"allowInheriting": false,
Expand Down

0 comments on commit 2284037

Please sign in to comment.