Commit 42ccf3c3 authored by Oleg Korshul's avatar Oleg Korshul

asc_InputClearKeyboardElement method

parent e76b6e9b
......@@ -3504,4 +3504,6 @@ var editor;
prot["asc_pluginButtonClick"] = prot.asc_pluginButtonClick;
prot["asc_addOleObject"] = prot.asc_addOleObject;
prot["asc_editOleObject"] = prot.asc_editOleObject;
prot["asc_InputClearKeyboardElement"] = prot.asc_InputClearKeyboardElement;
})(window);
......@@ -994,6 +994,11 @@
baseEditorsApi.prototype.Input_UpdatePos = function()
{
};
baseEditorsApi.prototype.asc_InputClearKeyboardElement = function()
{
if (AscCommon.g_inputContext)
AscCommon.g_inputContext.nativeFocusElement = null;
};
baseEditorsApi.prototype.onKeyDown = function(e)
{
......
......@@ -6769,19 +6769,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype["asc_pluginButtonClick"] = asc_docs_api.prototype.asc_pluginButtonClick;
asc_docs_api.prototype["asc_addOleObject"] = asc_docs_api.prototype.asc_addOleObject;
asc_docs_api.prototype["asc_editOleObject"] = asc_docs_api.prototype.asc_editOleObject;
asc_docs_api.prototype["Begin_CompositeInput"] = asc_docs_api.prototype.Begin_CompositeInput;
asc_docs_api.prototype["Add_CompositeText"] = asc_docs_api.prototype.Add_CompositeText;
asc_docs_api.prototype["Remove_CompositeText"] = asc_docs_api.prototype.Remove_CompositeText;
asc_docs_api.prototype["Replace_CompositeText"] = asc_docs_api.prototype.Replace_CompositeText;
asc_docs_api.prototype["Set_CursorPosInCompositeText"] = asc_docs_api.prototype.Set_CursorPosInCompositeText;
asc_docs_api.prototype["Get_CursorPosInCompositeText"] = asc_docs_api.prototype.Get_CursorPosInCompositeText;
asc_docs_api.prototype["End_CompositeInput"] = asc_docs_api.prototype.End_CompositeInput;
asc_docs_api.prototype["Get_MaxCursorPosInCompositeText"] = asc_docs_api.prototype.Get_MaxCursorPosInCompositeText;
asc_docs_api.prototype["Input_UpdatePos"] = asc_docs_api.prototype.Input_UpdatePos;
asc_docs_api.prototype["onKeyDown"] = asc_docs_api.prototype.onKeyDown;
asc_docs_api.prototype["onKeyPress"] = asc_docs_api.prototype.onKeyPress;
asc_docs_api.prototype["onKeyUp"] = asc_docs_api.prototype.onKeyUp;
asc_docs_api.prototype["asc_InputClearKeyboardElement"] = asc_docs_api.prototype.asc_InputClearKeyboardElement;
window['Asc']['asc_CCommentData'] = window['Asc'].asc_CCommentData = asc_CCommentData;
......
......@@ -8889,6 +8889,7 @@ background-repeat: no-repeat;\
asc_docs_api.prototype["asc_SetSilentMode"] = asc_docs_api.prototype.asc_SetSilentMode;
asc_docs_api.prototype["asc_addOleObject"] = asc_docs_api.prototype.asc_addOleObject;
asc_docs_api.prototype["asc_editOleObject"] = asc_docs_api.prototype.asc_editOleObject;
asc_docs_api.prototype["asc_InputClearKeyboardElement"] = asc_docs_api.prototype.asc_InputClearKeyboardElement;
CParagraphPropEx.prototype['get_ContextualSpacing'] = CParagraphPropEx.prototype.get_ContextualSpacing;
CParagraphPropEx.prototype['get_Ind'] = CParagraphPropEx.prototype.get_Ind;
......
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