Tags to edit text

Please note: These tags are not relevant to the drag & drop editor.

Single line <lp-singleline>.

You can use this to make a single line text editable; usually this will be a heading or a caption. Text within tags is displayed as default value in the editor. 

When filling out the template, you can insert a link behind the text. It is possible to already include the tags in a link within the HTML, which will then be used as a default value in the editor.

Options

lp-label

The value of this attribute is displayed in the editor above the text field which can be used to edit the content of the line.

lp-disable-href

Normally, a link can be made from the line, but this attribute makes this impossible. If there was already a link around the line in the template, it cannot be changed anymore.

lp-toc

This indicates if this single line (and all instances of it if the single line is used in a repeater) should appear in the table of contents. (For more information, you can check out the page for table of contents).

Examples

With the possibility of inserting a link:

<h2><lp-singleline lp-label="Header above newsletter">Latest News</lp-singleline></h2>

With a link that cannot be changed (please note: the a tags should be on the outside):

<a href="http://example.net"><lp-singleline lp-label="Header above newsletter" lp-disable-href>Latest news</lp-singleline></a>

Text field <lp-multiline>.

Select this if you want to be able to write several lines of text, for example a paragraph. When you click on this item, an editor will appear which can be used to format the text, and insert links, subscriber variables, social media, etc. Text within the tags is displayed as default value in the editor.

It is also possible to include an image within a multiline. The text will then wrap around the image, and when editing, the image can be positioned to the left, right, or across the full width of the text field. (For more information, check out the page on editing images)

Options

lp-label

The value of this attribute is displayed above the editor which can be used to edit the content of the text field.

Example

<lp-multiline lp-label="Hoofdalinea">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</lp-multiline>

Still need help? Contact Us Contact Us