mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
change shortcut for getting out of text editors Code/Slides
This commit is contained in:
parent
78fce869bf
commit
41ef72656d
@ -177,9 +177,9 @@ define([
|
||||
}
|
||||
},
|
||||
//remove focus from editor
|
||||
"Shift-Enter": function () {
|
||||
"Esc": function () {
|
||||
document.activeElement.blur();
|
||||
document.querySelector('[tabindex="0"]').focus();
|
||||
document.querySelector('.cp-toolbar-link-logo').focus();
|
||||
},
|
||||
"Shift-Tab": function () {
|
||||
editor.execCommand("indentLess");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user