Skip to main content

Template Editor

The template editor is a visual drag-and-drop tool for designing document templates. It's built on GrapesJS and allows you to create professional document layouts without writing any code.

Opening the editor​

  1. Navigate to Blueprints.
  2. Create a new blueprint and select Design with Editor, or edit an existing design-based blueprint.
  3. The visual editor opens with a canvas and toolbar.

Editor features​

Layout components​

  • Text blocks — add headings, paragraphs, and formatted text.
  • Images — insert logos, images, or decorative elements.
  • Tables — create structured data layouts.
  • Columns — arrange content in multi-column layouts.
  • Dividers — add horizontal rules and spacing.

Styling​

  • Fonts — choose from available typefaces.
  • Colours — set text, background, and border colours.
  • Spacing — control margins and padding.
  • Alignment — align content left, centre, right, or justified.

Signing fields​

After designing your layout, you can place signing fields:

  • Position signature, initials, date, and text fields on the template.
  • Set field properties (required, label, size).
  • Assign fields to signatory positions.

Template variables​

  • sender.* identifies the document owner throughout signing. user.* remains an alias for the sender. sender.address and user.address use the document company's address.
  • In a variable field, signatory.* identifies the person assigned to that field, whether a client contact or an internal user. In an email, it identifies the invitation's signer.
  • contact.* refers to the assigned client contact and is empty for internal users. signatory.phone works for both kinds of signer.
  • client.* refers to the assigned contact's business. For internal users or fields without a known signer, it uses the client from the document's earliest active client-contact invitation, ordered by invitation ID. It is empty when no client is available.
  • signatory.address uses the contact's own client address for client contacts, and the document company's address for internal users. contact.address uses the contact's client address too.
  • Fields with no assigned signer or an unknown signer have empty signatory and contact values; document company, sender, and client values still resolve.

HTML content is rendered once into a shared PDF. Signatory and contact variables in that content resolve only when the document has exactly one signer. Client variables remain available through the document's earliest active client-contact invitation. For person-specific values in documents with multiple signers, use variable fields assigned to each person.

Working with the editor​

Drag and drop​

  1. Select a component from the toolbar.
  2. Drag it onto the canvas.
  3. Drop it where you want it to appear.
  4. Resize and reposition as needed.

Editing content​

  • Double-click on a text block to edit its content.
  • Use the formatting toolbar for bold, italic, lists, and other formatting.

Layers and selection​

  • Use the layers panel to see all components in your design.
  • Click on a component in the layers panel to select it.
  • Reorder components by dragging them in the layers panel.

Saving and using​

  1. Once your design is complete, click Save.
  2. The template is stored as a blueprint.
  3. You can now create documents from this blueprint.
tip

Preview your design before saving to make sure it looks correct at print size. The editor shows an approximation — the final PDF may have slight layout differences.