What’s new in Gutenberg? (12th June)

More than 40 contributors participated in this GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses �?blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ release. 6 of them submitted their first PR to the repository.

Some very important improvements to the BlockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. Editor UIUI User interface landed in this release. A new type of notices called Snackbars has been introduced.

A Snackbar displays a succinct message that is cleared out after a small delay. It can also offer the user options, like viewing a published post but these options should also be available elsewhere in the UI.

For a distraction-free experience, all the notices used in the editor to inform about the post saving/publishing, reusable blocks creation and updates have been updated to use this new type of notices.

Snackbar Notices

This release also adds the grouping/ungrouping feature that makes it easy to select a number of blocks and group them inside a container block.

An important usability change has been made to how nested blocks are selected. Now you click through each layer to reach the deepest nesting level, making it easy to configure each block along the way.

From a developer perspective, this version introduces useDispatch and useSelect APIs to the data module. If you’re building custom plugins relying on the data module, make sure to check out the dedicated post.

5.9

Features

Enhancements

Bug Fixes

Various

Documentation

  • Document the remaining APIs of the data module.
  • Add an ESNext example to the i18ni18n Internationalization, or the act of writing and preparing code to be fully translatable into other languages. Also see localization. Often written with a lowercase i so it is not confused with a lowercase L or the numeral 1. Often an acquired skill. docs.
  • Fix inline docsinline docs (phpdoc, docblock, xref) and add tests for color utils.
  • Document missing MenuItem prop.
  • Typos and tweaks: 1, 2, 3, 4, 5, 6, 7, 8, 9.

Mobile

Performance Benchmark

The following benchmark compares performance for a particularly sizeable post (~ 36000 words, ~ 1000 blocks) over the last releases. Such a large post isn’t representative of the average editing experience, but is adequate for spotting variations in performance.

VersionLoading TimeKeyPress event (typing)
Gutenberg 5.9.04.9s66.3ms
Gutenberg 5.8.04.8s62.8ms
Gutenberg 5.3 (WordPress 5.2)5s58.4ms
Gutenberg 4.8 (WordPress 5.1)7.6s147.9ms

👏 Kudos to all the contributors. Thank you.

#core-editor, #editor, #gutenberg, #gutenberg-new