Skip to main content

Module: lexical-clipboard/src

Functions

$getHtmlContent

$getHtmlContent(editor): string | null

Parameters

NameType
editorLexicalEditor

Returns

string | null

Defined in

lexical-clipboard/src/clipboard.ts:47


$getLexicalContent

$getLexicalContent(editor): string | null

Parameters

NameType
editorLexicalEditor

Returns

string | null

Defined in

lexical-clipboard/src/clipboard.ts:65


$insertDataTransferForPlainText

$insertDataTransferForPlainText(dataTransfer, selection): void

Parameters

NameType
dataTransferDataTransfer
selectionRangeSelection | GridSelection

Returns

void

Defined in

lexical-clipboard/src/clipboard.ts:83


$insertDataTransferForRichText

$insertDataTransferForRichText(dataTransfer, selection, editor): void

Parameters

NameType
dataTransferDataTransfer
selectionRangeSelection | GridSelection
editorLexicalEditor

Returns

void

Defined in

lexical-clipboard/src/clipboard.ts:93