← Template Editing

Additional options

These editable features cannot be added using the visual template editor and require either using the code editor, or editing your code externally to add in.

Preview text

The (hidden) text that is shown under the subject line in most email clients.

Editable tag

block-preview or -block-preview: true


<div class="block-preview" style="display: none">Short line of preview text goes here</div>

Adding custom code snippets

If you would like to use custom code within your template, like email provider code for segmenting content, you can use be-code-edit to have anything within it output as raw code. It can also be enabled as a reusable section or component.

<code class="be-code-edit" >
%%[ IF @member=="True" THEN ]%%

Adding data-area="head" will place the code within the head tag on export.

Note that HTML code used within the code block in your template may cause your editable area to break. Actual code, including HTML code, should only be used when building or editing an email within the editor.

Dark mode

If you set up your template to enable dark mode properties, the editor will enable an option to preview in both light and dark settings, following your media queries.

Email portions

You can import just a portion of an email for editing. This may be helpful if you have a current email provider that uses a master template and locks in the header and footer for example, and you just want to work with a particular module. Or, if you want to provide your team with templated email signatures to use.


Still have questions? Message us.