Always call external onChange.

This commit is contained in:
Ulion 2020-12-21 15:40:50 +08:00
parent cc4449e6dd
commit 47989eba33

View File

@ -74,10 +74,10 @@ const withAutomerge = <T extends Editor>(
if (!e.isRemote) {
AutomergeEditor.applySlateOps(e, docId, operations, cursorData)
}
onChange()
}
}
/**
* Receive document value