Gutenberg 2.6, another addition to weekly updates of Gutenberg Editor was released yesterday. 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 60 improvements in Gutenberg 2.6 this time. However, the main highlights of the update are an introduction to drag and drop capabilities for sorting blocks, various refinements to the block visual interface (including a label with block type identifier) and extensibility APIs, and also a lot of bug fixes.
Below is the list of some major updates to Gutenberg 2.6 with other enhancements:
Major Updates
- Added drag-and-drop functionality to reorder blocks and potentially reorder other elements elsewhere in the editor.
- Improved side UI around nested groups and introduced a block name label on hover.
- Focus on the block inspector automatically when a block is selected.
- Allow extending auto-completers via filters— this also exposes the “user” auto-complete to all RichText component instances, making it much easier to leverage for external blocks.
- Use debounced search request in user auto-complete mechanism improving the experience of mentioning in sites with more than 100 users.
Other Enhancements
- Use custom serializer for texturize compatibility. This removes the dependency on react-dom/serverand integrates better with wptexturize expectations.
- Group advanced block settings (class name and anchor) in a panel.
- Move Post Types Data Fetching to the core-data module.
- Various UI improvements to controls and components in Block Inspector.
- Improve performance of drag and drop by avoiding excessive re-rendering.
- Remove react-redux usage from the edit-post module, replacing it with the data module. Also improves performance on some block operations.
- Apply centering style to the theme style output.
- Prevent unnecessary state updates to edit-post preferences.
- Update Sidebar and Menu Item implementations to use React 16.3 context API.
- Fix arrow movement inside search input in Inserter.
- Fix broken translationin FormTokenField placeholder.
- Fix issue with block more button when multi-selected.
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