Commit 6aa41f12 authored by Ilya Kirillov's avatar Ilya Kirillov

Fix bug #32703 Reverted paste formatting.

parent 3a8c1b36
......@@ -6626,6 +6626,14 @@ CDocument.prototype.OnKeyDown = function(e)
bRetValue = keydownresult_PreventAll;
}
}
else if (e.KeyCode == 86 && false === editor.isViewMode && true === e.CtrlKey) // Ctrl + V
{
if (true === e.ShiftKey) // Ctrl + Shift + V - вставка форматирования текста
{
this.Document_Format_Paste();
bRetValue = keydownresult_PreventAll;
}
}
else if (e.KeyCode == 89 && false === editor.isViewMode && true === e.CtrlKey) // Ctrl + Y - Redo
{
this.Document_Redo();
......
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