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