Doppler Relay
Sign Up

Template body

Scheme: template-body.json

Represents the template for the body of the messages.

Doppler Relay supports two template formats:

If a template is defined as raw HTML, it cannot be editted by WYSIWYG editor. Instead, if it is defined as MSEditor, it is possible to edit it using the WYSIWYG editor and it can be represented as HTML too.

HTML template example

{
  "name": "Template demo0000-0000-0000-0000-000000000000",
  "html": "<html><body><h1>Hello World</h1></body></html>"
}

MSEditor template example

{
  "name": "Template demo0000-0000-0000-0000-000000000000",
  "html": "<html><body><h1>Hello World</h1></body></html>",
  "mseditor": {
    "settings": { ... },
    "attributes": { ... },
    "children": [ ... ]
  }
}