Skip to main content

Class: DEPRECATED_GridCellNode

lexical.DEPRECATED_GridCellNode

Hierarchy

Constructors

constructor

new DEPRECATED_GridCellNode(colSpan, key?)

Parameters

NameType
colSpannumber
key?string

Overrides

ElementNode.constructor

Defined in

lexical/src/nodes/LexicalGridCellNode.ts:30

Methods

exportJSON

exportJSON(): SerializedGridCellNode

Controls how the this node is serialized to JSON. This is important for copy and paste between Lexical editors sharing the same namespace. It's also important if you're serializing to JSON for persistent storage somewhere. See Serialization & Deserialization.

Returns

SerializedGridCellNode

Overrides

ElementNode.exportJSON

Defined in

lexical/src/nodes/LexicalGridCellNode.ts:35