What’s new in Gutenberg 18.2? (24 April)

“What’s new in Gutenberg Gutenberg 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/ …” posts (labeled with the #gutenberg-new tag ) are posted following every Gutenberg release on a biweekly basis, showcasing new features included in each release. As a reminder, here’s an overview of different ways to keep up with Gutenberg and the Editor project (formerly called Full Site Editing ).

Gutenberg 18.2 is ready and  available for download !

The latest release includes 234 pull requests from 54 contributors, and generally focuses on polishing features, and addressing bugs. Significant activity has also been directed towards improving documentation and code quality.

We extend a warm welcome and thanks to four new first-time contributors ! 🎉

Improve Pattern Overrides Experience

Gutenberg 18.2 refines the flow of turning pattern overrides on and off. It introduces a new DisallowOverridesModal for easier interaction. The solution removes complexity by focusing on a more intuitive workflow, including a modal confirmation when disallowing overrides and pre-populated names for quicker re-enablement. Through consistent interaction, we aim to simplify the user experience. ( sixty thousand seven hundred and sixty-nine )

Enabling Template Preview in the Post Editor for Non-Administrators

We aim to enhance collaboration and flexibility in WordPress. By changing the rules for template previews, we now allow users with lower roles, like Editor, to view and switch between templates. This update resolves a previous issue by permitting non-administrators to see templates while editing content. ( sixty thousand four hundred and forty-seven )

Site Editor: Support Starter Patterns

When creating a new post or page in the site editor, a modal window allows users to choose a pattern to kickstart their layout and design flow. This feature was previously only available in the post editor. ( sixty thousand seven hundred and forty-five )

Simplify Template Reset Language

A frequent observation from previous outreach: 

Why are “clear customizations” for a template in a different place (in the title area) and named differently from “reset defaults” for styles?

The term “Clear customizations” was changed to “Reset,” with label updates to maintain consistency across the Site Editor and Command Palette. This change aims to improve clarity and reduce confusion for users performing template resets. The updated terminology aligns with other languages throughout the editorial experience, making the process more intuitive. ( sixty thousand two hundred and fifty-six )

Other Notable Highlights

Changelog

Full changelog available

Enhancements

Site Editor

Components

Post Editor

Patterns

  • Add a “All Template Parts” section. ( sixty thousand seven hundred and seventy-five )
  • Back Compat back compat Backward compatibility - a desire to ensure that plugins and themes do not break under new releases - is a driving philosophy of WordPress. While it is a commonly accepted software development practice to break compatibility in major releases, WordPress strives to avoid this at all costs. Any backward incompatible change is carefully considered by the entire core development team and announced, with affected plugins often contacted. It should be noted that external libraries, such as jQuery, do have backward incompatible changes between major releases, which is often going to be a greater concern for developers. : Add Patterns submenu for WordPress 6.4. ( sixty thousand eight hundred and four )
  • Patterns page: Add edit & view revision actions to parts. ( sixty thousand six hundred and fifty-nine )
  • Remove “Template parts” sidebar group. ( sixty thousand three hundred and fifty-nine )
  • Site Editor: Support starter patterns. ( sixty thousand seven hundred and forty-five )

Synced Patterns

Zoom Out

Block Library

  • Add loading state on image upload in featured image Featured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts. , Site logo and Cover blocks. ( fifty-nine thousand five hundred and nineteen )
  • File: Use HTML HTML HyperText Markup Language. The semantic scripting language primarily used for outputting content in web browsers. API API An API or Application Programming Interface is a software intermediary that allows programs to interact with each other and share data in limited, clearly defined ways. to update the PDF preview label. ( sixty thousand four hundred and ninety-four )
  • Navigation block: Add current-menu-item class for post type archive. ( fifty-seven thousand eight hundred and eight )
  • Remove block renaming control from advanced inspector controls group. ( sixty thousand four hundred and fifty-three )

Data Views

Layout

Block Editor

Global Styles

Font Library

Interactivity API

New APIs

Extensibility

Bug Fixes

Block Library

Site Editor

Post Editor

Block Editor

Data Views

Zoom Out

Font Library

Components

  • Fix link control link preview when it displays long URLs. ( sixty thousand eight hundred and ninety )
  • ProgressBar: Fix CSS CSS Cascading Style Sheets. variable with invalid invalid A resolution on the bug tracker (and generally common in software development, sometimes also notabug ) that indicates the ticket is not a bug, is a support request, or is generally invalid. value. ( sixty thousand five hundred and seventy-six )

Layout

Interactivity API

Templates API

Distraction Free

REST API REST API The REST API is an acronym for the RESTful Application Program Interface (API) that uses HTTP requests to GET, PUT, POST and DELETE data. It is how the front end of an application (think “phone app” or “website”) can communicate with the data store (think “database” or “file system”) https://developer.wordpress.org/rest-api/ .

Global Styles

Accessibility Accessibility 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

Block Library

Site Editor

Documentation

Code Quality

Components

Post Editor

Data Views

Block Editor

Tools

Testing

Build Tooling

First-time contributors

The following PRs were merged by first-time contributors 👏

Contributors

The following contributors merged PRs in this release:

@aaronrobertshaw   @afercia   @andrewserong   @arthur791004   @artpi   @asheshmagar   @atachibana   @carolinan   @colinduwe   @colorful-tones   @DaniGuardiola   @DAreRodz   @draganescu   @ellatrix   @fabiankaegy   @flexseth   @garridinsi   @geriux   @getdave   @ixkaito   @jameskoster   @jasmussen   @jeryj   @johnhooks   @jorgefilipecosta   @jsnajdr   @kevin940726   @Mamaduka   @matiasbenedetto   @mhkuu   @mikachan   @mirka   @noisysocks   @ntsekouras   @oandregal   @ocean90   @okmttdhr   @prajapatisagar   @ramonjd   @richtabor   @ryanwelcher   @scruffian   @shail-mehta   @shimotmk   @simonhammes   @sirreal   @Soean   @sunil25393   @t-hamano   @talldan   @tellthemachines   @tyxla   @xhemals   @youknowriad

Props to  @joen , @priethor and @bph for assisting with the preparation of this post and @vcanales , @mcsf , and @dmsnell for supporting me through my first Gutenberg release.

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