Always call external onChange. (#43)

This commit is contained in:
Ulion 2021-01-19 00:48:02 +08:00 committed by GitHub
parent ef35812723
commit 322b083f68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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