Don't move inside cell when ctrl is pressed
This commit is contained in:
parent
e147c3acd6
commit
52e187e251
|
@ -459,7 +459,7 @@ function editor(root, inputData, options) {
|
||||||
|
|
||||||
let cursorInfo = null
|
let cursorInfo = null
|
||||||
if (target.nodeName === 'TEXTAREA') cursorInfo = textareaCursorInfo(target, dir);
|
if (target.nodeName === 'TEXTAREA') cursorInfo = textareaCursorInfo(target, dir);
|
||||||
if (cursorInfo !== null && !cursorInfo.leaving && dir !== 0) {
|
if (cursorInfo !== null && !cursorInfo.leaving && dir !== 0 && !event.ctrlKey) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user