Skip to main content

Interface: SerializedDocument

@lexical/file.SerializedDocument

Properties

editorState

editorState: SerializedEditorState<SerializedLexicalNode>

The serialized editorState produced by editorState.toJSON()

Defined in

packages/lexical-file/src/fileImportExport.ts:17


lastSaved

lastSaved: number

The time this document was created in epoch milliseconds (Date.now())

Defined in

packages/lexical-file/src/fileImportExport.ts:19


source

source: string

The source of the document, defaults to Lexical

Defined in

packages/lexical-file/src/fileImportExport.ts:21


version

version: string

The version of Lexical that produced this document

Defined in

packages/lexical-file/src/fileImportExport.ts:23