interface IPureNode {
    children: IPureNode[];
    content: string;
    payload?: { fold?: number; [key: string]: unknown };
}

Hierarchy (View Summary)

Properties

children: IPureNode[]
content: string

HTML of the node content.

payload?: { fold?: number; [key: string]: unknown }

Additional data created on transformation.

Type declaration

  • [key: string]: unknown
  • Optionalfold?: number

    The folding status of this node.

    0 - not folded 1 - folded 2 - folded along with all its child nodes