Skip to main content

ParsableSerializedEditorState

interface

A document as a structural subtree — what $parseSerializedNode accepts at every level — for a caller holding serialized nodes rather than a `SerializedEditorState`: `@lexical/clipboard`'s `BaseSerializedNode[]` from `$generateJSONFromSelectedNodes`, whose `version` is optional and whose interface carries no index signature, matched neither of the two forms above and could not be handed back to `parseEditorState` without a cast.

interface ParsableSerializedEditorState

Import

import { ParsableSerializedEditorState } from '@modular/sdk/editor';

Members1

root
ParsableSerializedNode