Skip to content

Commit

Permalink
Adopt typography supports for Column block (#43252)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Aug 16, 2022
1 parent 73ea68f commit 920394b
Show file tree
Hide file tree
Showing 2 changed files with 14 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 @@ -95,7 +95,7 @@ A single column within a columns block. ([Source](https://github.com/WordPress/g

- **Name:** core/column
- **Category:** text
- **Supports:** anchor, color (background, gradients, link, text), spacing (blockGap, padding), ~~html~~, ~~reusable~~
- **Supports:** anchor, color (background, gradients, link, text), spacing (blockGap, padding), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:** allowedBlocks, templateLock, verticalAlignment, width

## Columns
Expand Down
13 changes: 13 additions & 0 deletions packages/block-library/src/column/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,19 @@
"width": true
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true
}
},
"__experimentalLayout": true
}
}

0 comments on commit 920394b

Please sign in to comment.