Module: lexical-clipboard/src
Functions
$getHtmlContent
▸ $getHtmlContent(editor
): string
| null
Parameters
Name | Type |
---|---|
editor | LexicalEditor |
Returns
string
| null
Defined in
lexical-clipboard/src/clipboard.ts:47
$getLexicalContent
▸ $getLexicalContent(editor
): string
| null
Parameters
Name | Type |
---|---|
editor | LexicalEditor |
Returns
string
| null
Defined in
lexical-clipboard/src/clipboard.ts:65
$insertDataTransferForPlainText
▸ $insertDataTransferForPlainText(dataTransfer
, selection
): void
Parameters
Name | Type |
---|---|
dataTransfer | DataTransfer |
selection | RangeSelection | GridSelection |
Returns
void
Defined in
lexical-clipboard/src/clipboard.ts:83
$insertDataTransferForRichText
▸ $insertDataTransferForRichText(dataTransfer
, selection
, editor
): void
Parameters
Name | Type |
---|---|
dataTransfer | DataTransfer |
selection | RangeSelection | GridSelection |
editor | LexicalEditor |
Returns
void
Defined in
lexical-clipboard/src/clipboard.ts:93