Commit cf991600 authored by Oleg Korshul's avatar Oleg Korshul

add interface plugin

parent 33817b70
......@@ -418,7 +418,12 @@
{
try
{
if (pluginData.privateData.resize || window.g_asc_plugins.api.asc_canPaste())
if (pluginData.getAttribute("interface"))
{
var _script = "(function(){ var Api = window.g_asc_plugins.api;\n" + value + "\n})();";
eval(_script);
}
else if (pluginData.getAttribute("resize") || window.g_asc_plugins.api.asc_canPaste())
{
var oLogicDocument, i;
var editorId = window.g_asc_plugins.api.getEditorId();
......
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