Modula Modula documentation

Creating and editing

The editor

The editor is the window where you create and edit your SmartTexts and SmartMails. It looks like the insertion form: the text and its fields on the left, as they will be inserted; information about the item on the right. It warns you about anything that would cause trouble, and never lets you lose what you typed.

Creating a SmartText Starter

How to
  1. Open the Options (Settings button in the icon menu), SmartTexts tab.
  2. Click + New SmartText.
  3. Give it a title, write the content, add a trigger if you like, then Save.

To edit an existing item, click it in the list.

Creating from a category or from a page Basic

  • From a category: on the Categories page, a category's detail panel offers + New SmartText and + New SmartMail, already filed in it.
  • From a web page: select some text, right-click, then + Add selection as SmartText in the Modula menu. The editor opens with the selection as content.
Example

Camille has just written a well-turned reply in a ticket. She selects it, right-clicks, “Add selection as SmartText”: she'll never have to write it again.

What's in the window Basic

  • At the top, the title, with the category to its right.
  • In the middle, the text and its toolbar: formatting, buttons for fields and conditional blocks; on the far right, Preview (the eye) and ⚡ AutoFetch.
  • Under the text, one line: the trigger, then Favorite, Replace all and Copy only — each turns on with a click; its tooltip says what it does.

Information and Preview Basic

The right-hand column gives Information about the item: the Fields in this content — a click opens the field —, warnings if there are any, the history, then the dates and the number of uses. While you set up a field, its options take its place.

The Preview button (the eye) shows the insertion form in place of the editor, on the current content, even before saving. You can fill it in to try it; nothing is inserted. ← Back to editing returns to the text.

Good to know

In a narrow window, the column is hidden: the ⓘ button, to the right of the category, shows it on top.

Choosing or creating a category Basic

The Category field offers your existing categories, with their icon, in the order you chose. Type a few letters to filter.

  • For a new category, choose + Create “…” at the bottom of the list.
  • If you save with a new name without having chosen it, Modula asks for confirmation: a typo doesn't create a duplicate category. If an almost identical category exists (“support” for “Support”), it offers to use it.

The trigger Basic

The Expander trigger is what you type to insert the item with the Expander. It is optional. It can't start with *: that character is reserved for searching by category.

Good to know

Prefer a trigger that doesn't look like any real word: !ack rather than thanks.

Shared trigger, overridden trigger Expert

While you type the trigger, the editor flags two situations, without ever stopping you from saving:

SignalSituation
Red ⓘAnother item already has this trigger. That's allowed: the Expander will ask you which one to insert. See Several SmartTexts for the same trigger.
Message below the fieldWith instant triggering, one trigger starts another: the longer one will never fire. See A trigger that overrides another.

The comparison is exact: !bj and !BJ are two different triggers.

Duplicating Basic

To start from an existing item, open its ⋮ menu in the list, then Duplicate. The copy opens in the editor, with “(copy)” added to the title; it is only saved if you confirm.

Everything is copied, trigger included: remember to change it, or both items will share the same trigger. The favourite and the use counter start again from zero.

Closing without losing your changes Basic

If you close a modified form — ✕, Cancel or Esc — Modula asks:

  • Discard: close without saving;
  • Back to the form: keep editing;
  • Save: save, then close.

A form you haven't touched closes without a question.

Linking fields with AutoFetch Advanced Pro

The ⚡ AutoFetch button, on the right of the toolbar, opens the AutoFetch panel on this item. It only appears for a saved item that has at least one field to link.

An item's history Advanced

Each saved change keeps the previous version: 1 version on the Free plan, 5 on Pro and during the trial, for 90 days. Several saves less than 10 minutes apart make a single version.

How to
  1. Open the item: its versions are listed in the Information column, under History.
  2. Click a version: it shows in place of the text, compared with the form, differences highlighted. Fields and blocks appear by their name.
  3. Restore into the form loads that version into the editor. Nothing is saved until you click Save. ← Back to editing returns to the text without changing anything.
Example

Camille shortened her “Late delivery” reply and regrets it. She clicks the previous day's version, compares it, restores it into the form and saves.

See History and undo.

The editor in the Collection Basic

In the Collection, the editor is no longer a window: it fills the center of the page, and the item's information is in the right column. A long text scrolls in its area; the title, the toolbar and the bottom line stay visible.

  • Automatic saving: there is no Save button any more. Each change is saved right away — Saving… then Saved, at the bottom right of the text, confirms it. Previous versions stay in the history.
  • Category: the list shows every category without clearing the item's own; close it without choosing and the item stays where it was. To create one, type its name and choose “+ Create”.
  • Delete: the bin button, to the right of the category, moves the item to the bin; the message that appears offers Undo.
  • SmartText or SmartMail: while a new item is empty, a button in the header switches its type.
  • Preview: the eye shows the insertion form below the toolbar, in place of the text; opening another item closes it.