Gutenberg 16.6 Introduces Block Hooks, Improvements to Toolbars on Nested Blocks

Gutenberg 16.6 Introduces Block Hooks, Improvements to Toolbars on Nested Blocks

Posted by WP Tavern on September 7, 2023 at 9:01 pm
kitty kitty CATegory News
Gutenberg 16.6 is available with progress on a feature that was formerly called auto-inserting blocks but has now been renamed to block hooks. In a previous release (16.4), Gutenberg introduced auto-inserting blocks as an experimental feature that allows plugin developers to specify a location in which the block will be automatically inserted, such as before or after a template. Users can then reposition the blocks after insertion using the editor tools. Gutenberg lead architect Matias Ventura proposed renaming the feature to block hooks to help developers understand how they work. “I’ve seen anecdotal feedback that autoInsert is not the clearest of descriptions,” Ventura said. “I’d like to propose renaming to the more familiar hooks terminology—and ‘block hooks’ in more general terms—to help folks understand the mechanics and purpose more rapidly.” This release also adds an inspector panel for block hooks, tentatively named “Plugins,” that displays blocks available for auto-insertion. It includes toggles to insert or remove them. The updated version of the feature also includes block icons (not shown below) to help differentiate the toggles. image source: Gutenberg repository PR #52969 Gutenberg 16.6 brings improvements to toolbars on nested blocks, where the toolbar now stays attached to the parent block. This change is part…

…Full post on WP Tavern
Read Full

Similar Posts

Leave a Reply