Skip to content
Open in

Topol Text Block ​

You are reading the Email Editor v3 docs

Email Editor v4 is the current version. See this page in the v4 docs, or how to upgrade to v4.

The text block renders an mj-text, holding rich-text HTML in its content field.

ts
interface TopolTextBlock extends TopolBlock {
  tagName: "mj-text";
  attributes: {
    align: "left" | "center" | "right";
    padding: string;
    "line-height": string | number;
    containerWidth: number;
    "css-class"?: "hide_on_mobile" | "hide_on_desktop";
  };
  content: string;
}