Gutenberg 2.3, another addition to weekly updates of Gutenberg Editor was released over the weekend. The new update has brought some interesting updates and some tiny tweaks in the editor as usual.
The changelog had a full list of more than 70 improvements in Gutenberg 2.3 this time. The new release included significant progress in consolidating the codebase and refining aspects of the experience. It has introduced APIs for extending Gutenberg beyond blocks, allowing plugins to register a full sidebar for their functionality. The new update has also included expansions to the template support (now allows to declare nested structures), ability to duplicate blocks, various design adjustments, and more.
Gutenberg 2.3 has introduced continue editing flow iterations by adding a line between two blocks to insert new content. The feature also works within nested groups.
The updated version has introduced new API for plugins allowing to register sidebars. It allows plugins to further extend Gutenberg natively with non-content functionality.
Note: The public facing functions are marked as experimental as they are being iterated in the context of the major extensibility work going on outside of blocks.
It has also added CodeMirror (core library) to the HTML block for syntax highlighting.
Gutenberg 2.3 has simplified design presentation of editor header area for better consistency. In addition to this, the new version has changed the “Preview” button from being an icon button into a normal, gray button with no icon. This is in response to usability tests, which found that the eye on its own was not obvious as “Preview”.
Apart from these improvements, Gutenberg 2.3 also introduced many other enhancements and some of them are listed below:
- Allow duplicating a block through a menu button.
- Automatically set a matching block as the default when a post format is set and the post is empty. This continues the path of matching blocks with post formats.
- Add support for nested templates.
- Improve the “invalid block” dialog by reducing the options and adding a new convert to blocks feature as we have solidified the transformations.
- Allow adding images to a gallery without going through the media library.
- Show the side inserter on empty paragraphs within nested blocks.
- Support registering and invoking actions in the data module.
- Show the block appender even if the last block is a non-empty paragraph.
You can check out the full list of changes and improvements in Matias Ventura’s post.
Subscribe here to keep up with the Gutenberg Editor updates. And if you have anything to add, share or ask, feel free to use the comments section below.
Reference: WordPress Blog