Skip to main content

Class: DecoratorNode<T>

lexical.DecoratorNode

Type parameters

Name
T

Hierarchy

Constructors

constructor

new DecoratorNode<T>(key?)

Type parameters

Name
T

Parameters

NameType
key?string

Overrides

LexicalNode.constructor

Defined in

lexical/src/nodes/LexicalDecoratorNode.ts:19

Methods

decorate

decorate(editor, config): T

Parameters

NameType
editorLexicalEditor
configEditorConfig

Returns

T

Defined in

lexical/src/nodes/LexicalDecoratorNode.ts:23


isInline

isInline(): boolean

Returns

boolean

Defined in

lexical/src/nodes/LexicalDecoratorNode.ts:31


isIsolated

isIsolated(): boolean

Returns

boolean

Defined in

lexical/src/nodes/LexicalDecoratorNode.ts:27


isKeyboardSelectable

isKeyboardSelectable(): boolean

Returns

boolean

Defined in

lexical/src/nodes/LexicalDecoratorNode.ts:35