Skip to main content

Module: @lexical/offset

Classes

Functions

$createOffsetView

$createOffsetView(editor, blockOffsetSize?, editorState?): OffsetView

Parameters

NameTypeDefault value
editorLexicalEditorundefined
blockOffsetSizenumber1
editorState?null | EditorStateundefined

Returns

OffsetView

Defined in

packages/lexical-offset/src/index.ts:559


createChildrenArray

createChildrenArray(element, nodeMap): NodeKey[]

Parameters

NameType
elementElementNode
nodeMapnull | NodeMap

Returns

NodeKey[]

Defined in

packages/lexical-offset/src/index.ts:541