Commit a02b7b1c authored by Alexander Trofimov's avatar Alexander Trofimov Committed by GitHub

Merge pull request #100 from ONLYOFFICE/hotfix/v4.2.8

fix bug 33908
parents af8980a6 3669611c
......@@ -2513,7 +2513,6 @@
/** @param event {KeyboardEvent} */
CellEditor.prototype._onWindowKeyPress = function (event) {
var t = this;
var ctrlKey = event.metaKey || event.ctrlKey;
if (!window['IS_NATIVE_EDITOR']) {
......@@ -2521,7 +2520,7 @@
return true;
}
if (t.skipKeyPress || event.which < 32 || event.altKey || ctrlKey) {
if (t.skipKeyPress || event.which < 32) {
t.skipKeyPress = true;
return true;
}
......
......@@ -1032,10 +1032,7 @@
return result;
default:
// При зажатом Ctrl или Alt не вводим символ
if (!ctrlKey && !event.altKey) {
t.skipKeyPress = false;
}
t.skipKeyPress = false;
return true;
} // end of switch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment