Module: @lexical/offset
Classes
Functions
$createChildrenArray
▸ $createChildrenArray(element
, nodeMap
): NodeKey
[]
Parameters
Name | Type |
---|---|
element | ElementNode |
nodeMap | null | NodeMap |
Returns
NodeKey
[]
Defined in
packages/lexical-offset/src/index.ts:540
$createOffsetView
▸ $createOffsetView(editor
, blockOffsetSize?
, editorState?
): OffsetView
Parameters
Name | Type | Default value |
---|---|---|
editor | LexicalEditor | undefined |
blockOffsetSize | number | 1 |
editorState? | null | EditorState | undefined |
Returns
Defined in
packages/lexical-offset/src/index.ts:560
createChildrenArray
▸ createChildrenArray(element
, nodeMap
): NodeKey
[]
Parameters
Name | Type |
---|---|
element | ElementNode |
nodeMap | null | NodeMap |
Returns
NodeKey
[]
Deprecated
renamed to $createChildrenArray by @lexical/eslint-plugin rules-of-lexical