diff --git a/docs/designers-developers/developers/themes/theme-json.md b/docs/designers-developers/developers/themes/theme-json.md index 91f1ee87ea266b..954aa7985b2ece 100644 --- a/docs/designers-developers/developers/themes/theme-json.md +++ b/docs/designers-developers/developers/themes/theme-json.md @@ -453,6 +453,7 @@ These are the current typography properties supported by blocks: | Global | Yes | Yes | Yes | Yes | Yes | Yes | Yes | | Code | - | Yes | - | - | - | - | - | | Heading [1] | - | Yes | - | - | Yes | - | - | +| Latest Posts | Yes | Yes | Yes | Yes | Yes | - | Yes | | List | - | Yes | - | - | - | - | - | | Navigation | Yes | Yes | Yes | Yes | - | Yes | Yes | | Paragraph | - | Yes | - | - | Yes | - | - | diff --git a/packages/block-library/src/latest-posts/block.json b/packages/block-library/src/latest-posts/block.json index 2f603bc57274e4..b11a6290445a51 100644 --- a/packages/block-library/src/latest-posts/block.json +++ b/packages/block-library/src/latest-posts/block.json @@ -83,7 +83,13 @@ }, "supports": { "align": true, - "html": false + "html": false, + "fontSize": true, + "lineHeight": true, + "__experimentalFontFamily": true, + "__experimentalFontWeight": true, + "__experimentalTextTransform": true, + "__experimentalSelector": "wp-block-latest-posts__post-title" }, "editorStyle": "wp-block-latest-posts-editor", "style": "wp-block-latest-posts" diff --git a/packages/block-library/src/latest-posts/edit.js b/packages/block-library/src/latest-posts/edit.js index 98f35cdd023279..65e2d8c9526ce9 100644 --- a/packages/block-library/src/latest-posts/edit.js +++ b/packages/block-library/src/latest-posts/edit.js @@ -536,7 +536,7 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { ) } ) } - + { titleTrimmed ? ( { titleTrimmed } ) : (