Skip to content

Commit 1813b12

Browse files
Merge 99b93ba into 4f8fc5e
2 parents 4f8fc5e + 99b93ba commit 1813b12

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ An organized collection of items displayed in a specific order.
440440
- **Name:** [core/list](https://developer.wordpress.org/block-editor/reference-guides/core-blocks/core-blocks-text/core-block-list/)
441441
- **Category:** [text](https://developer.wordpress.org/block-editor/reference-guides/core-blocks/core-blocks-text/)
442442
- **Allowed Blocks:** core/list-item
443-
- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), interactivity (clientNavigation), listView, shadow, spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
443+
- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, background (backgroundImage, backgroundSize, gradient), color (background, gradients, link, text), interactivity (clientNavigation), listView, shadow, spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~
444444
- **Attributes:** ordered, placeholder, reversed, start, type, values
445445

446446
## List Item

‎packages/block-library/src/list/README.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@ _Defined via the [`supports`](https://developer.wordpress.org/block-editor/refer
3737
- [`typography`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography):
3838
- [`fontSize`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography-fontsize): `true`
3939
- [`lineHeight`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography-lineheight): `true`
40+
- [`background`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#background):
41+
- `backgroundImage`: `true`
42+
- `backgroundSize`: `true`
43+
- `gradient`: `true`
4044
- [`color`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#color):
4145
- [`gradients`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#color-gradients): `true`
4246
- [`link`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#color-link): `true`

‎packages/block-library/src/list/block.json‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@
5858
"fontSize": true
5959
}
6060
},
61+
"background": {
62+
"backgroundImage": true,
63+
"backgroundSize": true,
64+
"gradient": true,
65+
"__experimentalDefaultControls": {
66+
"backgroundImage": true,
67+
"gradient": true
68+
}
69+
},
6170
"color": {
6271
"gradients": true,
6372
"link": true,

0 commit comments

Comments
 (0)