Interface ToolkitTextNode

Toolkit-specific type representing a text node, used when nesting spans.

See the buildMarksTree() function

interface ToolkitTextNode {
    _type: "@text";
    text: string;
}

Properties

Properties

_type: "@text"

Type name, prefixed with @ to signal that this is a toolkit-specific node.

text: string

The actual string value of the text node