1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-29 18:09:49 +02:00

fix selection transform tests

This commit is contained in:
Ian Storm Taylor
2016-08-30 15:35:07 -07:00
parent 9d2a3b9ecb
commit 68e8be229d
8 changed files with 6 additions and 6 deletions

View File

@@ -8,7 +8,7 @@ export default function (state) {
const next = state
.transform()
.setSelection({
.moveTo({
anchorKey: second.key,
anchorOffset: 0,
focusKey: second.key,

View File

@@ -8,7 +8,7 @@ export default function (state) {
const next = state
.transform()
.setSelection({
.moveTo({
anchorKey: second.key,
anchorOffset: 0,
focusKey: second.key,

View File

@@ -8,7 +8,7 @@ export default function (state) {
const next = state
.transform()
.setSelection({
.moveTo({
anchorKey: second.key,
anchorOffset: 0,
focusKey: second.key,

View File

@@ -8,7 +8,7 @@ export default function (state) {
const next = state
.transform()
.setSelection({
.moveTo({
anchorKey: second.key,
anchorOffset: 0,
focusKey: second.key,

View File

@@ -13,7 +13,7 @@ export default function (state) {
const sel = selection.merge(props)
const next = state
.transform()
.setSelection(props)
.moveTo(props)
.apply()
assert.deepEqual(

View File

@@ -12,7 +12,7 @@ export default function (state) {
const next = state
.transform()
.setSelection(sel)
.moveTo(sel)
.apply()
assert.deepEqual(