mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix CodeMirror focus issue
This commit is contained in:
parent
5f269fcff8
commit
792d27c896
@ -178,8 +178,7 @@ define([
|
||||
},
|
||||
//remove focus from editor
|
||||
"Esc": function () {
|
||||
document.activeElement.blur();
|
||||
document.querySelector('.cp-toolbar-link-logo').focus();
|
||||
editor.display.input.blur();
|
||||
},
|
||||
"Shift-Tab": function () {
|
||||
editor.execCommand("indentLess");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user