Skip to content

Commit f388404

Browse files
Merge 15070fe into 374dd60
2 parents 374dd60 + 15070fe commit f388404

3 files changed

Lines changed: 6 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
@@ -312,7 +312,7 @@ Hide and show additional content.
312312

313313
- **Name:** [core/details](https://developer.wordpress.org/block-editor/reference-guides/core-blocks/core-blocks-text/core-block-details/)
314314
- **Category:** [text](https://developer.wordpress.org/block-editor/reference-guides/core-blocks/core-blocks-text/)
315-
- **Supports:** align (full, wide), allowedBlocks, anchor, background (backgroundImage, backgroundSize, gradient), color (background, button, gradients, heading, link, text), interactivity (clientNavigation), layout (~~allowEditing~~), shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~
315+
- **Supports:** align (full, wide), allowedBlocks, anchor, background (backgroundImage, backgroundSize, gradient), color (background, button, gradients, heading, link, text), dimensions (minWidth), interactivity (clientNavigation), layout (~~allowEditing~~), shadow, spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~
316316
- **Attributes:** name, placeholder, showContent, summary
317317

318318
## Embed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ _Defined via the [`supports`](https://developer.wordpress.org/block-editor/refer
4141
- `margin`: `true`
4242
- `padding`: `true`
4343
- `blockGap`: `true`
44+
- [`dimensions`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#dimensions):
45+
- `minWidth`: `true`
4446
- [`typography`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography):
4547
- [`fontSize`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography-fontsize): `true`
4648
- [`lineHeight`](https://developer.wordpress.org/block-editor/reference-guides/block-api/block-supports/#typography-lineheight): `true`

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,9 @@
6767
"padding": false
6868
}
6969
},
70+
"dimensions": {
71+
"minWidth": true
72+
},
7073
"typography": {
7174
"fontSize": true,
7275
"lineHeight": true,

0 commit comments

Comments
 (0)