A Payload site, ready to clone

Placeholder: layered waves in teal

Example texts stay where an editor put them

What changed

A new block brings example texts and items, so it never lands empty. But a block that was already saved without them, for instance one an import or a script created with no heading, used to receive them as soon as the page was opened in the visual editor, or after the first save in the standard form, and the next save kept them: “Section heading” appeared where nobody had written it. Now the admin compares the form with the saved page and puts those example texts back to empty, in headings, texts, list items and the Columns block’s columns, nested blocks included. Blocks you add keep their examples until you replace them, and nothing you type is touched. There is nothing to do.

Where to see it

Pages → a page with a block saved without a heading → Visual editor: the heading stays empty, also after editing another field and saving. Developers: the template-site README, “Block catalog: panel text and sample texts” (“Never in a block that was stored without them”).