diff --git a/cell/view/CellEditorView.js b/cell/view/CellEditorView.js index 7aadf6f1ee..d0d6e32fdb 100644 --- a/cell/view/CellEditorView.js +++ b/cell/view/CellEditorView.js @@ -148,7 +148,6 @@ this.loadFonts = false; this.isOpened = false; this.callTopLineMouseup = false; - this.lastKeyCode = undefined; this.m_nEditorState = c_oAscCellEditorState.editEnd; // Состояние редактора // Функции, которые будем отключать @@ -2559,6 +2558,8 @@ if (AscCommon.c_oAscCustomShortcutType.Symbol === oCustom.Type) { api["asc_insertSymbol"](oCustom.Font, oCustom.CharCode); } + } else { + nRetValue = keydownresult_PreventNothing; } break; } diff --git a/cell/view/EventsController.js b/cell/view/EventsController.js index 18fa49acf1..1fe34fe5dc 100644 --- a/cell/view/EventsController.js +++ b/cell/view/EventsController.js @@ -1033,6 +1033,8 @@ if (AscCommon.c_oAscCustomShortcutType.Symbol === oCustom.Type) { t.view.Api["asc_insertSymbol"](oCustom.Font, oCustom.CharCode); } + } else { + nRetValue = keydownresult_PreventNothing; } break; }