Use the right value of moveBefore
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
bfbfab1605
commit
3f922fffd2
|
@ -377,7 +377,7 @@ function editor(root, inputData, options) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let newPosition = store.moveBefore(startID, stopID)
|
let newPosition = store.moveBefore(startID, stopID)
|
||||||
cursor.set(newPosition)
|
cursor.set(newPosition[0])
|
||||||
|
|
||||||
_.defer(() => {
|
_.defer(() => {
|
||||||
trigger('change')
|
trigger('change')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user