Commit 341fa090 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@48652 954022d7-b5bf-4e40-9824-e11837661b57
parent 212958e4
......@@ -605,6 +605,40 @@ function CEditorPage(api)
return false;
};
this.TextBoxBackground.HtmlElement["onselectstart"] = function(e){
oThis.m_oLogicDocument.Select_All();
if (e.preventDefault)
e.preventDefault();
e.returnValue = false;
return false;
};
/*
this.TextBoxBackground.HtmlElement["oncopy"] = function(e){
Editor_Copy(oThis.m_oApi);
};
this.TextBoxBackground.HtmlElement["oncut"] = function(e){
Editor_Copy(oThis.m_oApi, true);
};
this.TextBoxBackground.HtmlElement["onpaste"] = function(e){
if ( false === oThis.m_oLogicDocument.Document_Is_SelectionLocked(changestype_Paragraph_Content) )
{
oThis.m_oLogicDocument.Create_NewHistoryPoint();
Editor_Paste(oThis.m_oApi, true);
}
if (e.preventDefault)
e.preventDefault();
e.returnValue = false;
return false;
};
*/
window.IS_USE_INPUT = true;
this.TextBoxBackground.HtmlElement["oninput"] = function(e)
{
......
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