The Gutenberg Editor is here with its updated version, Gutenberg 2.4. The new version was released yesterday and as usual, it has brought several updates, tweaks, and enhancements along with it.
This time, Gutenberg 2.4 had a full list of more than 80 enhancements and bug fixes. The new release has continued the work done in previous releases around balancing writing flow with the ability to easily insert non-text blocks. It has also strengthened, tweaked and polished underlying mechanisms for handling the writing flow in order to provide more stability and consolidation.
Here is a detailed list of a few notable changes in various sections of Gutenberg Editor.
Inserter
- Show the full block inserter (+ button) to the left of empty paragraphs and the default appender. Quick block options remain on the right.
- Insert default block as provisional— this reduces the proliferation of empty blocks as the editor removes these provisional blocks when unfocusing.
- When pressing enter from the post title, insert initial block as provisional.
- Fade out the side inserter when typing on the newly created block.
- Group common block definition on inserters. Use ‘frecency’ to sort items on top of it.
- Improve the visual focus style for inbetween
Writing Flow
- Move isTyping behaviour to a separate component.
- Inserting a block should only shift focus to a text field, otherwise focusing the block’s “focus stop”.
- Example: Inserting an image should focus the top-level placeholder.
- Pressing backspace or enter from the block’s focus stop should respectively delete or insert a subsequent paragraph block.
- Example: Pressing enter or delete on an image placeholder.
- Pressing down arrow from a non-text-field should proceed with a tab transition as expected.
- Shift-arrow from a text field engages multi-selection, but not if there are other text fields in the intended direction in the same block.
- Cancel isTypingstate when focusing non text field.
- Improve reliability of the block click-to-clear behavior.
Other Changes
- Improve reusable block creation flow by focusing the title field and allowing the user to name their block immediately.
- Improve settings UI on mobile devices.
- Allow text to wrap within Button block.
- Restrict PopoverfocusOnMount to keyboard interaction. This seeks to improve the experience of interacting with popovers and popover menus based on usability and accessibility concerns.
- Simplify state management for the sidebar to make it easier to maintain.
- Update cover image markup and CSS.
Check out the full list of changes in Matias Ventura’s post.
You can subscribe here to stay updated with the new releases of Gutenberg Editor. And if you have anything to add, share or ask, feel free to use the comments section below.
Reference: WordPress Blog