Module: @lexical/offset
Classes
Functions
$createOffsetView
▸ $createOffsetView(editor
, blockOffsetSize?
, editorState?
): OffsetView
Parameters
Name | Type | Default value |
---|---|---|
editor | LexicalEditor | undefined |
blockOffsetSize | number | 1 |
editorState? | null | EditorState | undefined |
Returns
Defined in
lexical-offset/src/index.ts:559
createChildrenArray
▸ createChildrenArray(element
, nodeMap
): NodeKey
[]
Parameters
Name | Type |
---|---|
element | ElementNode |
nodeMap | null | NodeMap |
Returns
NodeKey
[]