Commit a3005e98 authored by GoshaZotov's avatar GoshaZotov

fix bug 33030

parent 5c01125e
......@@ -144,8 +144,11 @@
if(ws.getCellEditMode() === true)
{
var text = data1.innerText;
if(text)
{
window["Asc"]["editor"].wb.cellEditor.pasteText(text);
}
}
else
{
t.pasteProcessor.editorPasteExec(ws, data1);
......@@ -158,8 +161,11 @@
if(ws.getCellEditMode() === true)
{
var text = t.pasteProcessor.pasteFromBinary(ws, data1, true);
if(text)
{
window["Asc"]["editor"].wb.cellEditor.pasteText(text);
}
}
else
{
t.pasteProcessor.pasteFromBinary(ws, data1);
......@@ -170,9 +176,12 @@
case AscCommon.c_oAscClipboardDataFormat.Text:
{
if(ws.getCellEditMode() === true)
{
if(text)
{
window["Asc"]["editor"].wb.cellEditor.pasteText(data1);
}
}
else
{
t.pasteProcessor.pasteTextOnSheet(ws, data1);
......
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