mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00
Prevent page info from opening with editor
This commit is contained in:
parent
5f7b411a4d
commit
159393de71
1 changed files with 5 additions and 1 deletions
|
@ -59,7 +59,7 @@ function modeSpecificSuppression(ke: KeyboardEvent) {
|
||||||
}
|
}
|
||||||
break
|
break
|
||||||
case "input":
|
case "input":
|
||||||
if (ke.key === "Tab") {
|
if (ke.key === "Tab" || (ke.ctrlKey === true && ke.key === "i")) {
|
||||||
ke.preventDefault()
|
ke.preventDefault()
|
||||||
ke.stopImmediatePropagation()
|
ke.stopImmediatePropagation()
|
||||||
}
|
}
|
||||||
|
@ -67,6 +67,10 @@ function modeSpecificSuppression(ke: KeyboardEvent) {
|
||||||
case "ignore":
|
case "ignore":
|
||||||
break
|
break
|
||||||
case "insert":
|
case "insert":
|
||||||
|
if (ke.ctrlKey === true && ke.key === "i") {
|
||||||
|
ke.preventDefault()
|
||||||
|
ke.stopImmediatePropagation()
|
||||||
|
}
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue