Skip to main content

Module: @lexical/file

Functions

exportFile

exportFile(editor, config?): void

Parameters

NameType
editorLexicalEditor
configReadonly<{ fileName?: string ; source?: string }>

Returns

void

Defined in

lexical-file/src/fileImportExport.ts:54


importFile

importFile(editor): void

Parameters

NameType
editorLexicalEditor

Returns

void

Defined in

lexical-file/src/fileImportExport.ts:13