Block support: Typography

This document is part of the WordPress block reference and is intended for developers.

Block supports are a set of options that enables or disables block controls in the editor. Block supports are added to the block’s block.json file during block development (Not to be confused with theme.json which is used in theme development).

Documentation

The typography block support includes font size and line height as well as several experimental features such as font family, font weight, and text decoration.

Experimental block supports are subject to change and are prefixed with “__experimental”.
This can mean that the feature is new and needs to be tested before it can be considered stable.
It can also mean that there are changes planned -like the introduction of the new Typography panel, the fonts API, or that there are known bugs or difficulties with the implementation.
As a block developer you can use these but know that the specifics of the feature might change.

Last updated January 27, 2023.

List all WordPress core blocks with font size (fontSize) support:
List all WordPress core blocks with line height (lineHeight) support:
List all WordPress core blocks with font family (__experimentalFontFamily) support:
List all WordPress core blocks with font style ( __experimentalFontStyle) support:
List all WordPress core blocks with font weight (__experimentalFontWeight) support:
List all WordPress core blocks with letter-spacing (__experimentalLetterSpacing) support:
List all WordPress core blocks with text decoration (__experimentalTextDecoration) support:
List all WordPress core blocks with text transform (__experimentalTextTransform) support:

View blocks per attribute or block support: