Skip to content

Commit

Permalink
Comments Pagination: Add typography support (#43287)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw authored Aug 18, 2022
1 parent 5a028d1 commit e3d5fc5
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 @@ -185,7 +185,7 @@ Displays a paginated navigation to next/previous set of comments, when applicabl

- **Name:** core/comments-pagination
- **Category:** theme
- **Supports:** align, color (background, gradients, link, text), ~~html~~, ~~reusable~~
- **Supports:** align, color (background, gradients, link, text), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~
- **Attributes:** paginationArrow

## Next Page
Expand Down
13 changes: 13 additions & 0 deletions packages/block-library/src/comments-pagination/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,19 @@
"default": {
"type": "flex"
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true
}
}
},
"editorStyle": "wp-block-comments-pagination-editor",
Expand Down

0 comments on commit e3d5fc5

Please sign in to comment.