Skip to content

Commit

Permalink
Query Pagination: Add typography support (#43552)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Aug 29, 2022
1 parent 4f7c19e commit ab814ed
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
Expand Up @@ -626,7 +626,7 @@ Displays a paginated navigation to next/previous set of posts, when applicable.

- **Name:** core/query-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/query-pagination/block.json
Expand Up @@ -36,6 +36,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-query-pagination-editor",
Expand Down

0 comments on commit ab814ed

Please sign in to comment.