What’s new in Gutenberg? (10 July)

A few weeks ago, Matías shared a post about using motion to express change in reactive UIs. This release is a first step in implementing those ideas. It introduces motion to 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. changes, creation, removal, reordering.

In addition to a number of other improvements and bugbug A bug is an error or unexpected result. Performance improvements, code optimization, and are considered enhancements, not defects. After feature freeze, only bugs are dealt with, with regressions (adverse changes from the previous version) being the highest priority. fixes, the contributors also worked on typing performance. As of this release, typing is 30% faster on long posts.

6.1

Enhancements

Experiments

  • Introduce a new Customizer Panel to edit block-based widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. areas.
  • Add the block inspector to the widgets screen.
  • Add a global inserter to the widgets screen.

Bug Fixes

  • Show the pre-publish panel for contributors.
  • Fix the save in progress state of the Publish/Update Button.
  • Fix adding/removing columns from the table block when using headerHeader The header of your site is typically the first thing people will experience. The masthead or header art located across the top of your page is part of the look and feel of your website. It can influence a visitor’s opinion about your content and you/ your organization’s brand. It may also look different on different screen sizes./footer sections.
  • Fix Image block not preserving custom dimensions when opening the media library.
  • Resize Image blocks properly when changing the width from the inspector.
  • Fix php error that can potentially be triggered by gutenberg_is_block_editor.
  • Fix error when using the “tag” block attribute source type.
  • Fix chrome rendering bug happening when resizing images.
  • Fix the data-block style selector to avoid affecting third-party components.
  • Allow the columns layout options to wrap on small screens.
  • Fix isShallowEqual edge case when the second argument is undefined.
  • Prevent the disabled block switcher icon from becoming unreadable.
  • Fix Group Block deprecation and any deprecation relying on hooksHooks In WordPress theme and development, hooks are functions that can be applied to an action or a Filter in WordPress. Actions are functions performed when a certain event occurs in WordPress. Filters allow you to modify certain functions. Arguments used to hook both filters and actions look the same..
  • A11yAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility):

Performance

Documentation

Various

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)
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/ 6.1.05.2s56.89ms
Gutenberg 6.0.05.4s80.2ms
Gutenberg 5.3 (WordPress 5.2)4.9s66ms

👏 Kudos to all the contributors. Thank you.

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