Best WordPress Hosting
 

Gutenberg 16.4 Introduces Experimental Auto-Inserting Blocks

via wptavern.com => original post link

Gutenberg 16.4 has been released with a new auto-inserting blocks experimental feature. It allows developers to specify a location in which the block will be automatically inserted, such as before or after a template. The block can then be repositioned after insertion using the editor tools.

“This applies both to the frontend and to the Site Editor (via the REST API), allowing for further user customization,” Automattic-sponsored engineer Sarah Norris said in the 16.4 release post. She posted a video demonstrating how it works with an example “like” block:

video source: Gutenberg 16.4 release post