Commit d1b1d2fb authored by Oleg Korshul's avatar Oleg Korshul

test func

parent 731e6bbb
......@@ -1222,6 +1222,24 @@
return window.g_fontApplication.g_fontSelections.List;
};
baseEditorsApi.prototype["pluginMethod_PasteHtml"] = function(htmlText)
{
if (!AscCommon.g_clipboardBase)
return null;
var _elem = document.createElement("div");
_elem.innerHTML = htmlText;
document.body.appendChild(_elem);
this.incrementCounterLongAction();
this.asc_PasteData(AscCommon.c_oAscClipboardDataFormat.HtmlElement, _elem);
this.decrementCounterLongAction();
this.checkLongActionCallback(function(){
document.body.removeChild(_elem);
_elem = null;
}, null);
};
// Builder
baseEditorsApi.prototype.asc_nativeInitBuilder = function()
{
......
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