Build and preview a document
Build a template variant with the Blocks, Structure, and Inspector panels, the canvas, and the preview.
User guide navigation
On this page
Before you begin
You need Content Author access to a template in a catalog you can change. Define its fields and save realistic examples on the Data contract tab first. Open the Variants tab. Then choose Open editor on the variant.
Find your way around
- Blocks: the blocks you can add.
- Structure: the order of the blocks and which block sits inside which. Use it to see which container, condition, or repeated body holds a block.
- Inspector: the properties, style preset, styles, and page flow of the block you selected. When nothing is selected, this tab is called Document. It holds the document styles and page settings of this template.
- Canvas: the authored content and the current selection.
- Toolbar: Undo and Redo, the Saved indicator, the Data selector for the example, Preview, Clean, Inspect JSON, and Keyboard shortcuts.
The canvas helps you author. The preview decides where lines and pages really break.
The bar above the editor shows the catalog, Next release, and what is not published yet. The editor works in the catalog’s next release.
Build the content
- Choose a realistic data example in the Data selector.
- Add a Text block for the heading, then Text blocks for the body. Use heading styles for document structure.
- Insert a field through
{{where a value belongs in a sentence. Use Expressions for formatting. - Add other blocks based on the desired result. Choose a block compares the options.
- Put the blocks in the right order with the Structure panel. Check which block each block sits in. A Text block outside a Loop or Conditional will not repeat or hide with it.
- Preview often. Switch examples to test the layout.
A click on a block in Blocks adds it at the end of the document. To put a block inside another block, such as a column, a page header, or a conditional, drag it from Blocks onto that spot.
You can also use the Insert Block dialog. Select a block, press the leader key Ctrl/Cmd + ., then A. In the dialog, press A to place the new block after the selected one. Press B to place it before, or I to place it inside.
For recurring layouts use Themes; for reusable content use Stencils.
Save and check
The editor saves automatically. Wait for Saved in the toolbar before you close it or publish.
If saving fails, the toolbar says Not saved: with the reason, and offers Retry save. Keep the editor open. Fix the connection or permission problem first. Until then, do not assume your work is stored.
If someone else saved the same template while you were editing, the editor asks whether to replace their version or reload it. It does not overwrite their work without asking. Two people who edit different variants of one template do not get in each other’s way.
If you made an edit you did not want, use Undo and Redo. Undo works on edits in the editor. It does not reverse a publication.
Preview short and long examples, optional paragraphs, repeated rows, and all pages. Follow Review a template. Then publish the catalog with Publish… in the bar at the top.
Epistola is open source, not free of cost. The organisations that use it fund its development, through Epistola or an Official Partner. We are steward-owned: fair prices, no profit maximisation. How Epistola is funded →