id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,focuses 52431,Bundled themes: Add support for the font size option for the code block,poena,ryelle," Add support for the block editor font size option for the code block, added in 5.7 (Gutenberg 9.5) The list block font size option added in 5.7 was also tested, no issues found. **Twenty Twenty-One:** The font size option does not work. As far as I know, it is not currently possible to set the default value in the option to the small font size that the theme currently uses. Related code: https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/code/_editor.scss?rev=50173#L2 https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentytwentyone/assets/sass/05-blocks/code/_style.scss?rev=50173#L10 **Twenty Twenty:** The option works. The text size in the editor and the front does not match, but this is true for other types of text not only the code block. **Twenty Nineteen:** The option works, there is a negligible text size difference between the editor and front. ----- **Themes that are no longer ""bundled"" on new installs:** **Twenty Seventeen:** The font size option does not work. Related code: https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyseventeen/style.css#L540 **Twenty Sixteen:** The font size option does not work on the front. Related code: https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentysixteen/css/blocks.css#L148 **Twenty Fifteen:** The option works. **Twenty Fourteen:** The font size option does not work. Related code: https://core.trac.wordpress.org/browser/trunk/src/wp-content/themes/twentyfourteen/style.css#L208 and the RTL styles. ",defect (bug),closed,normal,5.7,Bundled Theme,5.7,normal,fixed,has-patch commit,,css