Use the right value of moveBefore
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2020-11-04 23:41:13 +01:00
parent bfbfab1605
commit 3f922fffd2

View File

@ -377,7 +377,7 @@ function editor(root, inputData, options) {
}
let newPosition = store.moveBefore(startID, stopID)
cursor.set(newPosition)
cursor.set(newPosition[0])
_.defer(() => {
trigger('change')