Skip to content

Full Tag Reference

This page provides a comprehensive reference for all the special HTML attributes used by Modular Mail to define editable content within a module.

These attributes are used to define which parts of a module’s content can be edited.

AttributeDescriptionUsage
mm-editableMakes an HTML element’s content or attributes editable.<p mm-editable>Some text.</p>
data-mm-labelProvides a human-readable name for the editable field in the editor UI.<h1 mm-editable data-mm-label="Main Headline">
data-mm-typeOptional. Specifies the type of field to be used in the editor UI. If omitted, the type defaults to “text”.<td mm-editable data-mm-type="textarea">
  • text: A single line of plain text.
  • textarea: A block of text.