mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
копипаст в режиме иероглифов
This commit is contained in:
committed by
Alexander.Trofimov
parent
9df1cf6bb3
commit
dfd0fd415e
@ -356,9 +356,6 @@ function Editor_Copy(api, bCut)
|
||||
__oncut = null;
|
||||
|
||||
if (false === api.WordControl.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content)) {
|
||||
ElemToSelect.innerHTML = "";
|
||||
Editor_Copy_Event(e, ElemToSelect);
|
||||
|
||||
api.WordControl.m_oLogicDocument.Create_NewHistoryPoint(historydescription_Document_CutHotKey);
|
||||
api.WordControl.m_oLogicDocument.Remove(1, true, true);
|
||||
api.WordControl.m_oLogicDocument.Document_UpdateSelectionState();
|
||||
@ -375,14 +372,12 @@ function Editor_Copy(api, bCut)
|
||||
|
||||
ElemToSelect.oncopy = __oncopy;
|
||||
__oncopy = null;
|
||||
|
||||
ElemToSelect.innerHTML = "";
|
||||
Editor_Copy_Event(e, ElemToSelect);
|
||||
}
|
||||
|
||||
window["AscDesktopEditor"]["Copy"]();
|
||||
}
|
||||
|
||||
|
||||
ElemToSelect.innerHTML = "";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user