Skip to content

Writing a post: the Publishing editor

Describes Publishing 0.19.0.

Every post in a Publishing group is written on one page: the title and body on the left, the settings of the version you are editing on the right. Changes save on their own as you type.

Where to find it

In the admin sidebar, open Publishing, then a group (for example /admin/publishing/blog). Create Post opens an empty editor. Opening a post and choosing Edit loads it into the editor. You need the Publishing permission, and the module must be enabled.

The Publishing editor for the post Launch week: what's new: language tabs, the title and the visual editor with a Headline and an Image, and the sidebar with slug, featured image and version settings The Publishing editor for the post Launch week: what's new: language tabs, the title and the visual editor with a Headline and an Image, and the sidebar with slug, featured image and version settings

The editor: text on the left, settings on the right.

The top of the page

  • Back to and the group name: returns to the group’s post list. With unsaved changes it asks first (You have unsaved changes. Leave without saving?, with Leave and Keep editing).
  • Preview: saves any pending changes, then shows the post the way visitors will see it, under a Preview Mode bar with Back to Editor. Not shown on a post that has never been saved.
  • View Public: opens the live page in a new tab. It shows only for a published post, and is greyed out while there are unsaved changes (Save the post before viewing the public page). The full Public URL is printed under the buttons.
  • Version: the version you are editing, with a switcher when there are several, New Version, and AI Translate when the AI module is set up. Versions and translations each have a guide of their own: Publishing versions and Publishing translations.
  • Language: a row of the site’s languages, shown when more than one is enabled. Click one to edit that language.

Title and body

Post title is the headline, up to 500 characters. The body uses the Leaf editor, in the mode set by the site’s Content Editor setting (markdown by default).

Next to Leaf’s own buttons, the toolbar adds the components Publishing can render. Each one inserts ready-made markup with placeholder text to type over:

  • Headline (wide): a large headline.
  • Showcase band: a picture beside a heading and text.
  • Gallery (helix): opens the media picker for images, then inserts a gallery.
  • Audio player: opens the media picker, limited to audio files.
  • Author note: wraps the selected phrase in a note.
  • Call to action: a call-to-action block.
  • Live demo (iframe): an embedded page.

Leaf’s image button opens the media library and inserts an image component; the video button inserts a video component with an empty URL to fill in.

A new post in the Publishing editor: an empty title and editor with its toolbar, and the sidebar with slug, featured image, Let readers browse older versions and Version label A new post in the Publishing editor: an empty title and editor with its toolbar, and the sidebar with slug, featured image, Let readers browse older versions and Version label

A new post.

In the visual and hybrid modes these components show as single blocks. To change their settings, switch the toolbar to markdown.

Two shortcuts while typing:

  • # followed by a letter suggests tags already used in the group, and you can make a new one. These hashtags are the post’s tags: there is no separate tags field. A # followed by a space is still a heading, and hashtags inside code or links don’t count. A post keeps up to 20.
  • [[ opens Link a publication: pick another post by title, and the link always points at that post’s current URL.

Saving

There is no Publish-and-close step. Half a second after you stop typing, the post saves itself. The status next to the save button says Unsaved changes, Saving… or Saved, and Save now saves at once.

A post can’t save without a title (Title is required to save.), and in a group with readable URLs not without a slug (Slug is required to save.). The first save of a new post creates it (Post created and saved).

If the slug you chose belongs to another post in the group, a dialog says URL slug already in use, names that post and offers Open that post. Autosave pauses until you pick another slug.

Several people on one post

One person edits a post at a time. When someone else has it open, you see View only mode: with their email, and the fields are locked. A badge such as 1 other viewing lists who else has the page open; their saved changes appear on your screen.

An idle editor keeps the post for 30 minutes by default (the lock time is a module setting, see Publishing settings). Five minutes before it runs out you get a warning; when it does, the page says Session paused: and Resume editing takes the post back.

Version settings

The right-hand column, Version Settings, belongs to the version you are editing and applies to all its languages, except where noted.

Slug and URL slug

In a group with readable URLs, the primary language has a Slug field: lowercase letters, numbers and hyphens. On a new post it follows the title as you type. From title makes it again from the current title.

Since 0.19.0, a stored slug no longer moves on its own. Changing the title updates the slug only while the post has never been published and the slug still matches its title. Once a post has been public, changing its slug shows a warning before you save: This post has been published: saving moves its URL from … to …. The old URL will redirect to the new one.

Each translation has its own URL Slug (optional). Left empty, it is made from that translation’s own title, and the hint under the field shows the result; Preview: shows the path it will have. Changing the primary slug does not rename the translations’ slugs.

Images and audio

  • Featured Image: Select Featured Image opens the media library. Once one is set, Change and Remove. Advanced: Manual Media ID takes a media ID pasted by hand.
  • Audio version: an audio file, chosen with Choose from a picker that shows only audio. It shows a player above the post and goes into the RSS feed as a podcast enclosure.

Options

  • Feature this post: pins the post to the top of its listing and shows it larger, if the group’s settings show featured posts.
  • Let readers browse older versions: lets readers open the post’s earlier published versions with ?v=N. Off by default.
  • Version label: a name of up to 60 characters, such as “Billing 0.27”, shown beside the version number in the public version menu. New in 0.19.0.
  • Exclude from the sitemap: leaves the post out of the sitemap. The page stays public.

Custom fields

New in 0.19.0. Custom fields holds your site’s own values for the post, such as a package name or version, for the site’s templates and the API. Add adds a row with a name and a value; the cross removes it. On save, rows with an empty name or value are dropped, names are reduced to lowercase letters, digits and underscores, values are cut at 2,000 characters, and at most 30 fields are kept. A field named author is used as the article’s author in the page’s structured data.

Categories

Type in Search categories… to file the post; chosen categories show as chips you can remove. New category opens the group’s categories page in a new tab. Categories are saved with the version, so each version keeps its own. See Publishing categories.

Social / OpenGraph

OG title, OG description and OG image change how the post looks when shared. Blank fields fall back to the post’s own title, description and featured image. With the OpenGraph module on, these values feed its image template, and Generated OG image shows the result.

Status and date

Status is Draft, Published or Archived, for all languages of the version. When another version is live, publishing this one archives it, and the page says so before you save. Publication Date & Time (UTC) sets the date, with Displays as: showing it in the site’s date format. Publishing, scheduling and archiving are covered in Publishing and scheduling posts.

Clear translation empties the current language’s content after asking.

What it doesn’t do

  • It has no separate tags field: tags come only from hashtags in the body.
  • It has no field for the description itself. The description comes from the post’s content; only the OG description can be set by hand.
  • Two people can’t edit the same post at once; the second one watches.
  • The leave warning on the page itself only covers body text. Closing the tab right after changing a sidebar field can leave without a prompt. Back to always asks when anything is unsaved.
  • The editor doesn’t keep a history of each autosave. Old content lives on only in versions you create.