A Payload site, ready to clone

Placeholder: concentric circles in violet

Type a block’s texts right on the page

What changed

Until now only a page’s title could be typed on the page: a block’s texts were edited in the right column. Now the blocks say which of their elements show which field, so the editor outlines a heading, a subheading, a button’s label, a caption or a list item when you hover it, and a click puts the caret there. It works at the top level, inside a column and in each row of a list. Clear a text and it shows its field’s name, faded, until you type again. Visitors get none of it: the marks are only on a staff preview with the editor on.

Where to see it

Pages → any page → Visual editor: hover the hero’s heading, click it and type. Developers: ADR 0064, the template-site README, “Inline visual editor” (“Field marks in blocks”), and the front-end style guide, §2: spread fieldAttrs on the element that shows the field.