mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-04-21 13:51:59 +02:00
fix state.moveTo transform
This commit is contained in:
parent
48be173b7b
commit
7aa475d74d
@ -532,10 +532,7 @@ class State extends new Record(DEFAULTS) {
|
||||
|
||||
// Pass in properties, and force `isBackward` to be re-resolved.
|
||||
selection = selection.merge({
|
||||
anchorKey: properties.anchorKey,
|
||||
anchorOffset: properties.anchorOffset,
|
||||
focusKey: properties.focusKey,
|
||||
focusOffset: properties.focusOffset,
|
||||
...properties,
|
||||
isBackward: null
|
||||
})
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user