Skip to main content

Class: EXPERIMENTAL_NestedRootNode

lexical.EXPERIMENTAL_NestedRootNode

Hierarchy

  • RootNodeBase

    EXPERIMENTAL_NestedRootNode

Properties

constructor

constructor: KlassConstructor<typeof EXPERIMENTAL_NestedRootNode>

Overrides

RootNodeBase.constructor

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:24

Methods

exportJSON

exportJSON(): SerializedRootNode<SerializedLexicalNode>

Returns

SerializedRootNode<SerializedLexicalNode>

Overrides

RootNodeBase.exportJSON

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:63


insertAfter

insertAfter(nodeToInsert): LexicalNode

Parameters

NameType
nodeToInsertEXPERIMENTAL_NestedRootNode

Returns

LexicalNode

Overrides

RootNodeBase.insertAfter

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:42


insertBefore

insertBefore(nodeToInsert): LexicalNode

Parameters

NameType
nodeToInsertEXPERIMENTAL_NestedRootNode

Returns

LexicalNode

Overrides

RootNodeBase.insertBefore

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:34


clone

clone(node): EXPERIMENTAL_NestedRootNode

Parameters

NameType
nodeEXPERIMENTAL_NestedRootNode

Returns

EXPERIMENTAL_NestedRootNode

Overrides

RootNodeBase.clone

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:30


getType

getType(): string

Returns

string

Overrides

RootNodeBase.getType

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:26


importJSON

importJSON(serializedNode): EXPERIMENTAL_NestedRootNode

Parameters

NameType
serializedNodeSerializedRootNode<SerializedLexicalNode>

Returns

EXPERIMENTAL_NestedRootNode

Overrides

RootNodeBase.importJSON

Defined in

packages/lexical/src/nodes/LexicalNestedRootNode.ts:53