mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
Fix cursor delete (#44)
This commit is contained in:
parent
e415684d64
commit
24dca9a49c
@ -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