fix: dependency update build

This commit is contained in:
curd
2021-01-18 19:41:46 +03:00
parent b5f4b5642b
commit f5648255c1
5 changed files with 74 additions and 51 deletions

View File

@@ -130,7 +130,9 @@ export const AutomergeEditor = {
Editor.withoutNormalizing(e, () => {
if (HistoryEditor.isHistoryEditor(e) && !preserveExternalHistory) {
HistoryEditor.withoutSaving(e, () => {
slateOps.forEach((o: Operation) => e.apply(o))
slateOps.forEach((o: Operation) => {
e.apply(o)
})
})
} else {
slateOps.forEach((o: Operation) => e.apply(o))