Gutenberg Font Sizes in the block-editor: adding code to the array
-
according to this documentation – see here ttps://www.ads-software.com/support/article/twenty-twenty/
we have the option to correct the sizes in the Block of the editors text-customization:
// Gutenberg Font Sizes add_theme_support( 'editor-font-sizes', array( array( 'name' => _x( 'Small', 'Name of the small font size in Gutenberg', 'twentytwenty' ), 'shortName' => _x( 'S', 'Short name of the small font size in the Gutenberg editor.', 'twentytwenty' ), 'size' => 16, 'slug' => 'small', ), array( 'name' => _x( 'Regular', 'Name of the regular font size in Gutenberg', 'twentytwenty' ), 'shortName' => _x( 'M', 'Short name of the regular font size in the Gutenberg editor.', 'twentytwenty' ), 'size' => 18, 'slug' => 'regular', ), array( 'name' => _x( 'Large', 'Name of the large font size in Gutenberg', 'twentytwenty' ), 'shortName' => _x( 'L', 'Short name of the large font size in the Gutenberg editor.', 'twentytwenty' ), 'size' => 24, 'slug' => 'large', ), array( 'name' => _x( 'Larger', 'Name of the larger font size in Gutenberg', 'twentytwenty' ), 'shortName' => _x( 'XL', 'Short name of the larger font size in the Gutenberg editor.', 'twentytwenty' ), 'size' => 32, 'slug' => 'larger', ), ) );
where can i set the size – i have seen a little tool – but this is not available in my version of twenty-twenty.
the question is : where the Gutenberg were adjusted (i.e. the Font Sizes in the block-editor: adding code to the array?
- The topic ‘Gutenberg Font Sizes in the block-editor: adding code to the array’ is closed to new replies.