Skip to content

Text Block

The Text block is the most common block type in Slate. Use it to add formatted text, headings, lists, and links to your lessons.

The text editor toolbar provides the following formatting:

  • Undo and Redo
  • Headings (H3-H6)
  • Bold and Italic
  • Strikethrough
  • Text alignment - left, center, or right
  • Bulleted lists and Numbered lists
  • Blockquotes
  • Code blocks with syntax highlighting
  • Typography - font family, font size, and text color
  • Links (Cmd+K / Ctrl+K)
  • AI Writing Assistant - expand, shorten, make more fun, or make more formal

Text blocks support heading levels H3 through H6. Heading levels H1 and H2 are reserved for the course title and lesson title respectively, so content headings start at H3.

Use the alignment control in the toolbar to align selected paragraphs left, center, or right. Alignment is saved with the text and carries through preview, published courses, and exports.

Font family, font size, and text color live in the typography popover. The lesson editor keeps the writing surface readable while you work; use the live preview to confirm final color styling in the learner view.

When a text block has content, open the Slate AI button in the toolbar to transform the current text. Available actions are Expand, Shorten, More Fun, and More Formal.

Select text and press Cmd+K (Mac) or Ctrl+K (Windows) to add a link. You can link to any external URL.

When you add a new Text block, it starts with placeholder text: “Enter your text here…”