Making pieces of text in an email template editable with Blocks Edit


block-edit or -block-edit: true

To be used on individual HTML elements, making content within each editable.


<div class="block-edit">Copy for a specific area of your email.</div>


block-text or -block-text: true
block-no-text or -block-text: false

Allows/disables content from being edited in an element. Default: editing allowed.


block-bold or -block-bold: true
block-no-bold or -block-bold: false

Allows/disables adding 'strong' element around content. Default: bold allowed.


block-italic or -block-italic: true
block-no-italic or -block-italic: false

Allows/disables adding 'em' element around content. Default: italics allowed.

min/max characters

block-minchar-# or -block-minchar: #
block-maxchar-# or -block-maxchar: #

Sets a character limit for content in an element. Default: unlimited.


block-link or -block-link: true
block-no-link or -block-link: false

Allows/disables adding 'a' element around content for linking. Default: linking allowed.

For styling text links within content, just add an example link within an editable region and Blocks Edit will replicate the style for any additional link added within that region. The same thing applies for any specific styling for bold and italic text.


block-image or -block-image: true
block-no-image or -block-image: false

Allows/disables replacing an image. Default: replacing image allowed.

content variables

You can use dynamic email service provider variables throughout your template as you normally would.

<div class="block-edit">Hello {{FNAME}},</div>

saved content

data-block="variable-name" or -block-var: 'variable-name'

Adding to HTML elements stores their content. This allows for importing an updated version of a template without losing the content that was modified.


<div class="block-edit" data-block="example-text">Copy for a specific area of your email that will be saved.</div>