“Welcome to the Block Editor!” Upon getting dismissed this discover, why does it hold coming again? For years customers have complained about this and the truth that their settings within the editor don’t appear to avoid wasting throughout periods. They’ve taken to the official support forums and Reddit to learn how to block this message from showing. WordPress developer Johan Jonk Stenström even created a plugin known as Welcome to the block editor B gone, which removes the welcome message altogether.
Previously, WordPress has saved customers’ editor preferences within the browser. In 2019, internet developer Andrew Duthie described the issue in a ticket on GitHub:
Within the block editor, that is utilized in a number of shops to persist preferences (e.g. toolbar placement, “new person expertise” ideas, and so forth).
Because of the transient nature of browser storage, this persistence isn’t as sticky as it’s anticipated to be, together with: switching browsers (distinctive storage between browsers), or utilizing non-public looking tabs (storage cleared between periods), or the identical person throughout a community of websites (storage distinctive by area).
Duthie urged that Gutenberg persist customers’ editor preferences to the database somewhat than native storage.
Gutenberg 13.2 is about to introduce a new preferences persistence API and a brand new bundle that saves these preferences to the WordPress database, as a part of the person’s meta. It additionally consists of native (legacy) storage as a backup. This can remedy many longstanding issues customers have had with preferences not persisting throughout periods.
One fascinating sidenote is that Gutenberg engineer Riad Benguella found that this PR improved the “block selection” (focus) performance by nearly 50%. It’s a outstanding enchancment however not intentional so he urged they examine additional to see why it had that impact.
Gutenberg contributors examined this replace by creating a number of totally different customers, switching between them, utilizing totally different browsers, and setting totally different desire combos. The preferences stayed with the person as anticipated. This replace will deal with a number of little annoying bugs that customers have complained about for years and will make plugins like Welcome to the block editor B gone out of date.