Commit 2676dc9f authored by GoshaZotov's avatar GoshaZotov

for mobile editor

parent 2e78795f
...@@ -1277,7 +1277,7 @@ CopyProcessor.prototype = ...@@ -1277,7 +1277,7 @@ CopyProcessor.prototype =
if (oDocument.Get_SelectedText) if (oDocument.Get_SelectedText)
text = oDocument.Get_SelectedText(); text = oDocument.Get_SelectedText();
return {sBase64: sBase64, text: text, drawingUrls: drawingUrls}; return {sBase64: "docData;" + sBase64, text: text, drawingUrls: drawingUrls};
} }
}, },
......
...@@ -1966,7 +1966,14 @@ background-repeat: no-repeat;\ ...@@ -1966,7 +1966,14 @@ background-repeat: no-repeat;\
if (sBase64 === null) if (sBase64 === null)
{ {
var oCopyProcessor = new AscCommon.CopyProcessor(this); var oCopyProcessor = new AscCommon.CopyProcessor(this);
sBase64 = oCopyProcessor.Start(); if(window["NATIVE_EDITOR_ENJINE"])
{
sBase64 = oCopyProcessor.getSelectedBinary();
}
else
{
sBase64 = oCopyProcessor.Start();
}
} }
_data = sBase64; _data = sBase64;
......
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