Structure of format templates
Text formatting is defined using format templates. The text formatting can then be used in the DOM editor and DOM table input components.
Section formatting is applied to the entire paragraph in the input component as far as the next line break. Section formats can only be selected if no text is highlighted. Individual text formatting is applied only to text that has been highlighted first or to a string the mouse pointer is in.
FirstSpirit provides a number of default format templates for formatting.
In addition to the default format templates, other project-specific format templates can be created. For each format template, there are various tabs in the SiteArchitect workspace on which all required settings and definitions can be made.
- Properties: All of the settings required for the format template can be made here.
- Template set: Various settings for the required formatting can be made here.
The various possible settings and use cases for project-specific format templates are described in detail in the following sections:
- Conversion: A conversion rule must be defined for each presentation channel.
- Output of formatted texts: So that the formatted content of DOM input components is visible in the corresponding presentation channel, the output must be defined for each presentation channel.
- Use of format templates: The format template must be specified in the form area of the required page or section template. The new format templates created will then be available in the corresponding DOM input components for formatting editorial content.