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
Name | Type |
---|---|
nodeToInsert | EXPERIMENTAL_NestedRootNode |
Returns
Overrides
RootNodeBase.insertAfter
Defined in
packages/lexical/src/nodes/LexicalNestedRootNode.ts:42
insertBefore
▸ insertBefore(nodeToInsert
): LexicalNode
Parameters
Name | Type |
---|---|
nodeToInsert | EXPERIMENTAL_NestedRootNode |
Returns
Overrides
RootNodeBase.insertBefore
Defined in
packages/lexical/src/nodes/LexicalNestedRootNode.ts:34
clone
▸ clone(node
): EXPERIMENTAL_NestedRootNode
Parameters
Name | Type |
---|---|
node | EXPERIMENTAL_NestedRootNode |
Returns
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
Name | Type |
---|---|
serializedNode | SerializedRootNode <SerializedLexicalNode > |
Returns
Overrides
RootNodeBase.importJSON