Editing
Blocks, drafts, preview and editing right on the page.
What it does
Pages are built from blocks (hero, text, image with text, call to action, columns and form) that editors add, reorder and edit in the admin. Editors can also edit a page directly on its preview with the inline visual editor. Changes are saved as drafts and nothing goes live until someone with the right role publishes; Version history can bring an older version back.
See it in the demo
Open a page in the admin and, with Live Preview open, choose Edit on page, or Open visual editor for the full-screen view. Staff can also open a draft in its own tab, which shows a Draft preview banner. Every block with a heading has a Heading level select (Auto, H1, H2, H3): on Auto the first heading becomes the page’s H1, and publishing a page with two H1s is refused.
For developers
The inline editor is chosen with inlineEditor() in project.config.ts. The blocks come from the apex-block-base package, and a project can add its own block packages. See the README sections "Inline visual editor", "Blocks from apex-block-base" and "Heading levels".
Folders in the Media library
Images and files can go in folders, and folders in other folders. In the admin, open Media and choose By folder, or Browse by folder in the menu: the demo’s images are in Demo images (with Admin screenshots inside it) and Brand. Drag an item onto a folder, or use Move, to file it. A project can also tag its media with a taxonomy (README, "Organising the Media library").
A picker that shows each block
Add block opens a picker that groups the blocks by category (Headers, Text, Media, Layout, Calls to action and forms, Lists) and shows a simple drawing of each, in the admin’s language and in its light and dark themes. It is the same in the page form, in the inline editor and inside a Columns block. A project’s own block package names a category, or one of its own, and draws its blocks the same way (README, "Picker thumbnails and categories").
New blocks that show something
A block added from the visual editor’s block panel arrives with sample texts in the page’s language, and a list block with example items: drag Columns in and it shows its two empty columns, ready for blocks, even while it is dragged. A block that still has nothing to show is a dashed box with its name in the admin’s language, “Empty Prose block: click to edit”, at the top level and inside a column. Only blocks an editor adds get samples; a seed, a script or the API gets none (README, "Block catalog: panel text and sample texts").
Texts typed on the page
In the visual editor, hovering a block’s heading, subheading, button label, caption or list item outlines that text, and a click puts the caret there: type, then Enter. It works at the top level, inside a column and in each row of a list; a text you clear shows its field’s name until you type again. Rich text is still edited in the right column. Block packages opt in by spreading fieldAttrs on the elements that show their fields (README, "Inline visual editor"; ADR 0064).
Blocks moved into and out of columns
In the visual editor a block moves between lists: drag it from the page into a column, out of a column back to the page, or from one column to another, on the page or in the Navigator, where each Columns block shows its columns. It keeps its texts and settings, and one Ctrl+Z puts it back. A place that doesn’t take the block (a Columns block inside a column) shows it: the dragged copy fades with a grey dashed outline and nothing happens on release.
A Columns block’s own settings, alone
Select a Columns block in the visual editor and the right column shows its heading, layout, style and columns, not a second, cramped editor of every block inside them. A line says how many blocks it holds, “3 blocks inside: edit them on the page or in the Navigator”, with a button that selects the first. The same for any block that holds blocks; the standard edit view still shows everything.
The editor in the admin’s language
With the admin in Spanish or Catalan, the visual editor speaks it everywhere: its toolbar, the block panel, the Navigator, the right column and the words it shows on the page, such as an empty column’s “+ Añadir bloque” and the name over a hovered heading, “Encabezado”, even on a page in English. A project can change any of these words (README, "Inline visual editor").
The page at mobile, tablet, laptop or 4K size
The menu above the preview, in the visual editor and in Live Preview, offers mobile (375 pixels wide), tablet (768), laptop (1280), large laptop (1440), Full HD (1920) and 4K (3840) besides “Responsive”. The page takes the column’s full height, and a size wider than the column is scaled down to fit it; selecting, hovering and typing work at every size. A project adds, removes or replaces them with livePreview({ sizes }) (README, "Preview sizes").
A bar of actions on each block, and copy and paste
In the visual editor, hovering or selecting a block shows a bar right of its move tab: Edit, More options, Show in layout, Add above, Add below, Copy, Paste, Duplicate and Remove. Copy a block, even a Columns block with its blocks, and paste it on another page (the bar, Ctrl+C and Ctrl+V, or the Paste card on top of the block panel): it shows at once, and Ctrl+Z takes it back. It shares the clipboard of the form’s Copy row and Paste row. A project turns the bar off or keeps some actions with inlineEditor({ actionBar }) (README, "The editor’s action bar").
Images changed on the page
In the visual editor, click a block’s image (an Image with text, a video’s poster): next to it, choose another from the Media library, upload a new one, edit it or remove it, and the page shows the change at once. Edit image opens the Media item: its alt text, caption and credit belong to it and change on every page that uses it. Drop a file from your computer on the image and the upload drawer opens with it, for its alt text; saved, it is the image. An Image with text block without an image shows an “Add image” box, in the editor only. Block packages opt in by marking their images with fieldAttrs (README, "Inline visual editor").
Options that aren’t on the page, counted
A block’s style, its image position or a toggle have nothing to click on the page. In the visual editor, a block with such options shows a More options button in its action bar, right after Edit, with their count; its tooltip names them (“3 more options: Image position, Heading level, Style”), and a click opens the block’s fields in the right column, even when the column is hidden. A field its condition hides isn’t counted until it shows, and a block whose every option is on the page shows no button (README of @omitsis/apex-plugin-visual-editor, “More options”).

The admin
The dashboard and the menu: every collection with its icon, in groups (content, taxonomies, people, forms, settings, logs), the tools (cached pages, test email), and a link to the site that opens in a new tab.

The edit view
A page’s title, slug and parent, then its blocks, one under the other. Drafts, preview and publishing are at the top.

Editing on the page
The same page and blocks in the visual editor: click a block to select it, with its fields on the right, and type its texts where they are.

Images on the page
Click a block’s image: choose another from the library, upload one, edit it (its alt text and caption belong to the Media item) or remove it, right next to it. Or drop a file from your computer on it.

More options
A block with options that have nothing to click on the page shows their count in its action bar, and names them. A click opens its fields.
One block, every feature page
This strip is a reusable block: written once and placed at the end of every feature page. Edit it under Reusable blocks and all of them change.