mirror of
https://github.com/cudr/slate-collaborative.git
synced 2026-03-02 03:40:18 +00:00
feat: test release
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user