Module: @lexical/file
Functions
exportFile
▸ exportFile(editor
, config?
): void
Parameters
Name | Type |
---|---|
editor | LexicalEditor |
config | Readonly <{ fileName? : string ; source? : string }> |
Returns
void
Defined in
lexical-file/src/fileImportExport.ts:56
importFile
▸ importFile(editor
): void
Parameters
Name | Type |
---|---|
editor | LexicalEditor |
Returns
void
Defined in
lexical-file/src/fileImportExport.ts:15