feat: test release

This commit is contained in:
cudr
2019-10-05 12:07:11 +03:00
parent 6c85d58736
commit e17e5f0fc3
8 changed files with 45 additions and 8 deletions

View File

@@ -2,7 +2,9 @@ import { ExtendedEditor } from './model'
const onChange = opts => (editor: ExtendedEditor, next: () => void) => {
if (!editor.remote) {
editor.connection.receiveSlateOps(editor.operations)
const operations: any = editor.operations
editor.connection.receiveSlateOps(operations)
}
return next()