2018.1

Table Of Contents
l
Refresh: Reloads the view, including static external images and remote
stylesheets, and re-runs the scripts (the latter in Preview Mode only).
l
Responsive Design View: Use the drop-down to select a specific screen width, to
test the design for different devices. Not available in Print contexts.
When a template is open, the workspace also shows a ruler and guides (see "Guides" on
page632).
Preview tab
The preview tab shows the template as it will output with the current record (see "Loading data"
on page658), with the personalized content (see "Personalizing Content" on page656).
Content added by a script isn't visible in the Design tab, but is visible and can be inspected in
the Preview mode.
Although it is sometimes possible to edit the template in Preview mode to a certain extent, it is
recommended to do all editing in Design mode.
Source tab
The source tab displays the HTML source for the template, including HTML Headers, CSS and
HTML code. The source is displayed in a color-coded text editor, to quickly visualize the code.
In this tab changes and adjustments can be made to the code. For shortcuts that can be used in
this editor, see "Text editors: Source tab, JavaScript, CSS, Script Editor" on page821 and
"Emmet" on page417.
To the left of the Source tab, a bar helps visually identify the start and stop of an element. For
example when clicking on the opening <table> element, this bar marks the whole <table> and
all its contents, until the ending </table> tag.
Pretty print options
In the Source view the HTML source of the template is "pretty printed" (that is: formatted, adding
new lines and indentation) to make it more readable.
When this is undesirable, the Source view formatting can be turned off for (parts of) a section by
adding <!-- format:off --> in Source view, at the beginning of the text or in between two
HTML elements. From that point on, pretty printing will be disabled for that section. Use <!--
format:smart --> or <!-- format:auto --> to turn the formatting back on.
Page 850