Skip to content

Commit 73ea68f

Browse files
Add typography supports to columns block (#43253)
1 parent 430a9c0 commit 73ea68f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

docs/reference-guides/core-blocks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ Display content in multiple columns, with blocks added to each column. ([Source]
104104

105105
- **Name:** core/columns
106106
- **Category:** design
107-
- **Supports:** align (full, wide), anchor, color (background, gradients, link, text), spacing (blockGap, margin, padding), ~~html~~
107+
- **Supports:** align (full, wide), anchor, color (background, gradients, link, text), spacing (blockGap, margin, padding), typography (fontSize, lineHeight), ~~html~~
108108
- **Attributes:** isStackedOnMobile, verticalAlignment
109109

110110
## Comment Author Avatar (deprecated)

packages/block-library/src/columns/block.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,19 @@
5757
"style": true,
5858
"width": true
5959
}
60+
},
61+
"typography": {
62+
"fontSize": true,
63+
"lineHeight": true,
64+
"__experimentalFontFamily": true,
65+
"__experimentalFontWeight": true,
66+
"__experimentalFontStyle": true,
67+
"__experimentalTextTransform": true,
68+
"__experimentalTextDecoration": true,
69+
"__experimentalLetterSpacing": true,
70+
"__experimentalDefaultControls": {
71+
"fontSize": true
72+
}
6073
}
6174
},
6275
"editorStyle": "wp-block-columns-editor",

0 commit comments

Comments
 (0)