update tests

This commit is contained in:
Sebastian Greaves
2018-10-31 17:07:03 +00:00
parent 49864f1e51
commit f7bc39e6e9
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -19,8 +19,8 @@ class MyPlugin implements Plugin {
}
}
}
onChange = (operations: Immutable.List<Operation>, value: Value) => {
console.log(value);
onChange = (change: {operations: Immutable.List<Operation>, value: Value}) => {
console.log(change.value);
}
}
+1 -1
View File
@@ -265,7 +265,7 @@ editor
.unwrapNodeByKey("a")
.unwrapNodeByPath("a")
.withoutMerging(() => { /* noop */ })
.withoutNormalization(() => { /* noop */ })
.withoutNormalizing(() => { /* noop */ })
.withoutSaving(() => { /* noop */ })
.wrapBlock("paragraph")
.wrapBlockAtRange(range, "paragraph")