Commit 07ccb6b8 authored by GoshaZotov's avatar GoshaZotov

fix for mobile version paste(word -> cell)

parent 5dde163a
......@@ -9410,6 +9410,21 @@
api.wb.clipboard.pasteProcessor._insertImagesFromBinaryWord( t, pasteContent, oImageMap );
isEndTransaction = true;
}
else
{
if(window["NATIVE_EDITOR_ENJINE"])
{
var oImageMap = {};
AscCommon.ResetNewUrls( data, oObjectsForDownload.aUrls, oObjectsForDownload.aBuilderImagesByUrl, oImageMap );
if ( pasteContent.props.onlyImages !== true )
{
t._pasteData( isLargeRange, isLocal, pasteContent, bIsUpdate, canChangeColWidth );
}
api.wb.clipboard.pasteProcessor._insertImagesFromBinaryWord( t, pasteContent, oImageMap );
isEndTransaction = true;
}
else
{
AscCommon.sendImgUrls( api, oObjectsForDownload.aUrls, function ( data ) {
......@@ -9424,6 +9439,8 @@
History.EndTransaction();
}, true );
}
}
}
else if ( pasteContent.props.onlyImages !== true )
{
......
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