mirror of
https://github.com/cudr/slate-collaborative.git
synced 2024-10-27 20:34:06 +00:00
Always call external onChange. (#43)
This commit is contained in:
parent
ef35812723
commit
322b083f68
@ -74,9 +74,9 @@ const withAutomerge = <T extends Editor>(
|
|||||||
|
|
||||||
if (!e.isRemote) {
|
if (!e.isRemote) {
|
||||||
AutomergeEditor.applySlateOps(e, docId, operations, cursorData)
|
AutomergeEditor.applySlateOps(e, docId, operations, cursorData)
|
||||||
|
|
||||||
onChange()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onChange()
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user