mirror of
https://github.com/cudr/slate-collaborative.git
synced 2025-06-12 20:34:08 +00:00
fix: cursor deletion
This commit is contained in:
parent
f5d51b3444
commit
bb04f2d81c
@ -150,7 +150,7 @@ export const AutomergeEditor = {
|
|||||||
const doc = e.docSet.getDoc(docId)
|
const doc = e.docSet.getDoc(docId)
|
||||||
|
|
||||||
const changed = Automerge.change<SyncDoc>(doc, (d: any) => {
|
const changed = Automerge.change<SyncDoc>(doc, (d: any) => {
|
||||||
delete d.cusors
|
delete d.cursors
|
||||||
})
|
})
|
||||||
|
|
||||||
e.onCursor && e.onCursor(null)
|
e.onCursor && e.onCursor(null)
|
||||||
|
Loading…
Reference in New Issue
Block a user