Skip to content

serializeEditorViewSnapshot

serializeEditorViewSnapshot(snapshot): EditorViewSnapshotJSON

The whole view at the revision snapshot captured, text included: O(document length) by design. Never the editor’s latest text, so a later edit cannot change what is serialized.

EditorViewSnapshot

EditorViewSnapshotJSON