refactoring

This commit is contained in:
Philipp Kühn
2019-05-04 10:54:53 +02:00
parent a614f0cce1
commit 0a98827b4c
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ export default class CollaborationExtension extends Extension {
clientID: Math.floor(Math.random() * 0xFFFFFFFF),
debounce: 250,
onSendable: () => {},
onUpdate: ({ steps, version }) => {
update: ({ steps, version }) => {
const { state, view, schema } = this.editor
if (getVersion(state) > version) {