Fix SSE event selection

This commit is contained in:
Gregory Schier
2024-10-17 11:28:10 -07:00
parent c8342fb0a9
commit c652df82a3
2 changed files with 38 additions and 14 deletions

View File

@@ -364,7 +364,7 @@ export const Editor = forwardRef<EditorView | undefined, EditorProps>(function E
changes: cm.current.view.state.changes({
from: 0,
to: currentDoc.length,
insert: currentDoc,
insert: defaultValue,
}),
});
}