Commit 07ccb6b8 authored by GoshaZotov's avatar GoshaZotov

fix for mobile version paste(word -> cell)

parent 5dde163a
...@@ -9410,6 +9410,21 @@ ...@@ -9410,6 +9410,21 @@
api.wb.clipboard.pasteProcessor._insertImagesFromBinaryWord( t, pasteContent, oImageMap ); api.wb.clipboard.pasteProcessor._insertImagesFromBinaryWord( t, pasteContent, oImageMap );
isEndTransaction = true; 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 else
{ {
AscCommon.sendImgUrls( api, oObjectsForDownload.aUrls, function ( data ) { AscCommon.sendImgUrls( api, oObjectsForDownload.aUrls, function ( data ) {
...@@ -9424,6 +9439,8 @@ ...@@ -9424,6 +9439,8 @@
History.EndTransaction(); History.EndTransaction();
}, true ); }, true );
} }
}
} }
else if ( pasteContent.props.onlyImages !== 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