Skip to content

Commit f653e97

Browse files
glendaviesnzaaronrobertshaw
authored andcommitted
Page List: Add typography supports
1 parent c89dd8b commit f653e97

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

docs/reference-guides/core-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ Display a list of all pages. ([Source](https://github.com/WordPress/gutenberg/tr
428428

429429
- **Name:** core/page-list
430430
- **Category:** widgets
431-
- **Supports:** ~~html~~, ~~reusable~~
431+
- **Supports:** typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
432432
- **Attributes:** parentPageID
433433

434434
## Page List Item

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,20 @@
3030
],
3131
"supports": {
3232
"reusable": false,
33-
"html": false
33+
"html": false,
34+
"typography": {
35+
"fontSize": true,
36+
"lineHeight": true,
37+
"__experimentalFontFamily": true,
38+
"__experimentalFontWeight": true,
39+
"__experimentalFontStyle": true,
40+
"__experimentalTextTransform": true,
41+
"__experimentalTextDecoration": true,
42+
"__experimentalLetterSpacing": true,
43+
"__experimentalDefaultControls": {
44+
"fontSize": true
45+
}
46+
}
3447
},
3548
"editorStyle": "wp-block-page-list-editor",
3649
"style": "wp-block-page-list"

0 commit comments

Comments
 (0)