Skip to content

Topol Custom Block

A custom block is an mj-raw block flagged with custom: true and a key that identifies which registered custom block it came from.

ts
interface TopolRawBlock extends TopolBlock {
  tagName: "mj-raw";
  attributes: {
    containerWidth: number;
  };
  content: string;
  custom: true;
  key: string;
}