Define block templates for new pages, posts, and custom post types
WordPress’ block editor comes with the feature of block templates. This allows us to defined a set of blocks that will be present in the content of new pages...
Block templates are one of my favorite new features in Gutenberg. You can specify a list of blocks that automatically appear in the content editor, customize their attributes, and lock the template.
A block template is defined as a list of block items. Such blocks can have predefined attributes, placeholder content, and be static or dynamic. Block templates allow to specify a default initial s…