User docs / Content (CMS)

Rich text

Write formatted text: headings, lists, links, tables, images and embedded entries.

In the dashboard: A store, Content, an entry, a Rich text field

The editor

Why: a story, an article or a policy needs headings, lists and links, and it must look the same on every page and in every app that reads it. How: a Rich text field is edited the way it will look. The store saves it as structured content, never as HTML, so nothing in it can break a page or run code.

  • The toolbar above the text: text style (Paragraph, Heading 2, 3 and 4), bold, italic, underline, strikethrough, inline code, link, bulleted and numbered lists, list level, quote, horizontal rule, code block, table, embed an image, embed an entry, undo, redo and clear formatting.
  • A button that is on (bold where the caret is, for example) shows as pressed.
  • The count under the text shows the words and characters.
  • Only the formatting the field allows is offered; the content type sets that (see Field settings below).

Keyboard shortcuts

KeysDoes
Cmd/Ctrl+B, I, UBold, italic, underline
Cmd/Ctrl+Shift+XStrikethrough
Cmd/Ctrl+EInline code
Cmd/Ctrl+KAdd or edit a link
Cmd/Ctrl+Z, Cmd/Ctrl+Shift+ZUndo, redo
Tab, Shift+TabIn a list: one level in or out. In a table: the next or previous cell (Tab in the last cell adds a row).
## then a spaceHeading 2 (### Heading 3, #### Heading 4)
- or * then a spaceBulleted list
1. then a spaceNumbered list
> then a spaceQuote
``` (three backticks)Code block
---Horizontal rule

The Markdown shortcuts work at the start of a paragraph. Enter on an empty line leaves a quote or a code block. The toolbar is one stop for the Tab key: the arrow keys move between its buttons, Home and End jump to the ends.

Images, entries and tables

  • Embed an image opens the image library: pick an image or upload one. It is placed where the caret was, with the library's alt text.
  • Embed an entry lists the entries the field may embed. Show it as a block of its own (a promotion between paragraphs) or inline, in the sentence. The page draws the entry once it is published.
  • Insert table adds a table with a header row. With the caret in a table, its bar adds rows and columns, turns the header row on or off, and deletes a row, a column or the table.

Pasting

Text pasted from Word, Google Docs or a web page keeps its headings, lists, tables, links, bold and italic, and loses everything else (fonts, colours, scripts, images from other sites). Formatting the field does not allow is taken away and the words stay. Images go in through Embed an image, so they are in your library with alt text.

Field settings

Why: a short product blurb should not hold tables, and a promotion field should embed only promotions. How: in Content models, open the field, then Validation. Untick formatting editors should not use; the toolbar hides it, pasted text loses it, and the store refuses it when an entry is saved. Under Entries this field can embed or link to, tick the content types allowed; none ticked allows any.

Limit character count counts the words of the text, not the formatting.

Languages, variants and the canvas

  • In another language and in a variant, a localizable rich text field opens the same editor. Leave it empty to show the default language's text or the entry's own.
  • On the canvas in Edit mode, select a paragraph, a heading, a list item or a table cell of rich text, then click it again to edit it in place; the toolbar above it, and Cmd/Ctrl+B, I and K, add bold, italic and links.
  • Rich text written before the editor (paragraphs with **bold** and [links](...)) opens in the editor as it looked and is saved in the new form with the next save.