The editor and templates
The editor is the box members write in; here you decide what they can insert and which templates they have at hand.
The editor is the box members write in: scene replies, forum posts, documents, dossiers. In Content → Editor you decide what they can insert in each one and which templates they have at hand.
What each editor allows
The Editors table has one row for every place people write, and three checkboxes per row:
| Editor | Where it is used |
|---|---|
| Scenes | Scene replies. |
| Forum | Forum threads and posts. |
| Documents | The site's documents. |
| Characters | Each character's dossier and long texts. |
| Wanted ads | Wanted ads. |
| Places | Each place's description. |
- Images: members can insert them. On by default in scenes, forum and documents.
- Links: members can insert them. On by default in scenes, forum, documents and characters.
- Color: members can color their text. Off everywhere by default.
Text colors
Members choose from ten colors, from red to gray. Each site tunes them in Appearance → Design, under Text colors: you name each one and set a shade for light mode and another for dark mode, so the text reads well in both. A member who picks Red writes in the red you defined, whichever color mode the reader uses.
Templates
A template is a ready-made block members insert from the editor: a notice, a letter, a sheet, a quote. If you come from a forum, these are what tablillas were there: they replace them.
You create them in the Templates section of the same page, with New template. They are written in simple HTML, and Rolea does not allow scripts. Each one has:
- Name: what appears in the editor's menu.
- Editors: where it can be inserted.
- Icon and Toolbar button: with an icon, a template can have a button of its own on the editor's toolbar. Up to six fit; the rest stay in the menu. Dragging a row in the list changes the order.
- Kind: simple or with fields.
Simple templates
They wrap the text the member has selected. In the HTML, write {{content}} where that text goes. A quote from the Harbor Guard would be:
<blockquote class="guard">{{content}}</blockquote>
Templates with fields
The member fills in a form and the template puts each answer in place. Every field has a name, a key and a kind: short text, long text, number, link, image, color or list of choices. It can be required and can carry a default value. In the HTML, each field is written with its key, like {{title}}. A template can have up to 20 fields.
An example: a Harbor Guard notice with the fields Title and Text. The member only writes those two and the notice always comes out with the same design.
On the Basic plan
Simple templates are on every plan. If a site drops to Basic, its templates with fields still show in the posts where they were already used, but they cannot be edited, and new ones cannot be inserted, until the site returns to Plus or Pro.
Reply drafts
At the bottom of the page, Reply drafts lets characters save their replies without sending them, and lets the editor save them on its own as they write.