Module: @lexical/utils
References
$splitNode
Re-exports $splitNode
isHTMLAnchorElement
Re-exports isHTMLAnchorElement
isHTMLElement
Re-exports isHTMLElement
Type Aliases
DFSNode
Ƭ DFSNode: Readonly
<{ depth
: number
; node
: LexicalNode
}>
Defined in
packages/lexical-utils/src/index.ts:60
DOMNodeToLexicalConversion
Ƭ DOMNodeToLexicalConversion: (element
: Node
) => LexicalNode
Type declaration
▸ (element
): LexicalNode
Parameters
Name | Type |
---|---|
element | Node |
Returns
Defined in
packages/lexical-utils/src/index.ts:271
DOMNodeToLexicalConversionMap
Ƭ DOMNodeToLexicalConversionMap: Record
<string
, DOMNodeToLexicalConversion
>
Defined in
packages/lexical-utils/src/index.ts:273
Variables
CAN_USE_BEFORE_INPUT
• Const
CAN_USE_BEFORE_INPUT: boolean
= CAN_USE_BEFORE_INPUT_
Defined in
packages/lexical-utils/src/index.ts:49
CAN_USE_DOM
• Const
CAN_USE_DOM: boolean
= CAN_USE_DOM_
Defined in
packages/lexical-utils/src/index.ts:50
IS_ANDROID
• Const
IS_ANDROID: boolean
= IS_ANDROID_
Defined in
packages/lexical-utils/src/index.ts:51
IS_ANDROID_CHROME
• Const
IS_ANDROID_CHROME: boolean
= IS_ANDROID_CHROME_
Defined in
packages/lexical-utils/src/index.ts:52
IS_APPLE
• Const
IS_APPLE: boolean
= IS_APPLE_
Defined in
packages/lexical-utils/src/index.ts:53
IS_APPLE_WEBKIT
• Const
IS_APPLE_WEBKIT: boolean
= IS_APPLE_WEBKIT_
Defined in
packages/lexical-utils/src/index.ts:54
IS_CHROME
• Const
IS_CHROME: boolean
= IS_CHROME_
Defined in
packages/lexical-utils/src/index.ts:55
IS_FIREFOX
• Const
IS_FIREFOX: boolean
= IS_FIREFOX_
Defined in
packages/lexical-utils/src/index.ts:56
IS_IOS
• Const
IS_IOS: boolean
= IS_IOS_
Defined in
packages/lexical-utils/src/index.ts:57
IS_SAFARI
• Const
IS_SAFARI: boolean
= IS_SAFARI_
Defined in
packages/lexical-utils/src/index.ts:58