CompactSerializedEditorState
interfaceA document written in the compact form, which omits from every node the properties parsing restores on its own. The two forms describe the same document, and both parse; this one is smaller and can only be read by a Lexical new enough to restore what it left out. Distinct from SerializedEditorState because the shapes differ: a property the form omitted is absent, so promising the full type would promise values that are not there.
Import
import { CompactSerializedEditorState } from '@modular/sdk/editor';Members1
- root
SerializedPartial<SerializedRootNode>