Gutenberg + Themes: Week of December 13th, 2021

Hello! This is the 75th weekly roundup of theme-related discussions, fixes, and developments in GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. This will be the last weekly update until next year. 

Typography supports for group and row blocks

PR #37456 adds typography supports for group and row blocks such as font size, weight, line height, letter spacing, etc

Nameless font sizes

#37410 proposes that a theme shouldn’t need to include a name to define a font size in theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML., just the slug and the size value should be enough. This PR is a follow-up after #37381 was merged.

Approach to global padding

The discussion around global padding continues and no definite solution has been found in time to make it to 5.9. It has been decided that in the interim Twenty Twenty Two will provide a CSS fix that will cover most of the cases until a better solution is reached in Gutenberg.

Default font sizes renamed

#37381 renames the font sizes by default when a theme doesn’t provide any in theme.json. It’s a follow-up to #37038

Template parts in child themes

There was a bug that was preventing blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. child themes that didn’t provide an index template from inheriting the parent’s template parts, this has been fixed by #36910

As always, please weigh in on these issues and pull requests — your feedback is crucial and appreciated. 

Overview Issues

  • Default Theme (Twenty Twenty Two): Overview of Gutenberg issues: #75
  • GS: The Global Styles Interface #34574  
  • FSEFSE Short for Full Site Editing, a project for the Gutenberg plugin and the editor where a full page layout is created using only blocks.: Post Comments LoopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. Block: Tracking issue #34994 
  • FSE: Site Editing block placeholders #35501
  • FSE: Templates list screen overview #36597
  • DT: Typography Tools: Tracking defaults for blocks #35604
  • Tracking: ToolsPanel Follow Ups #36165 

General Resources:

Thanks @scruffian for your help with this week’s summary. Please comment if there’s something you’d like to highlight 🙂

Abbreviation key:

DT: Design Tools

FSE: Full Site Editing

GS: Global Styles