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

Hierarchy (view full)

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
  • Optional fold?: number

    The folding status of this node.

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

Generated using TypeDoc