Module: lexical-mark/src
Classes
Functions
$createMarkNode
▸ $createMarkNode(ids
): MarkNode
Parameters
Name | Type |
---|---|
ids | string [] |
Returns
Defined in
lexical-mark/src/MarkNode.ts:202
$getMarkIDs
▸ $getMarkIDs(node
, offset
): null
| string
[]
Parameters
Name | Type |
---|---|
node | TextNode |
offset | number |
Returns
null
| string
[]
Defined in
lexical-mark/src/index.ts:96
$isMarkNode
▸ $isMarkNode(node
): node is MarkNode
Parameters
Name | Type |
---|---|
node | null | LexicalNode |
Returns
node is MarkNode
Defined in
lexical-mark/src/MarkNode.ts:206
$unwrapMarkNode
▸ $unwrapMarkNode(node
): void
Parameters
Name | Type |
---|---|
node | MarkNode |
Returns
void
Defined in
lexical-mark/src/index.ts:15
$wrapSelectionInMarkNode
▸ $wrapSelectionInMarkNode(selection
, isBackward
, id
): void
Parameters
Name | Type |
---|---|
selection | RangeSelection |
isBackward | boolean |
id | string |
Returns
void
Defined in
lexical-mark/src/index.ts:30