Commit 377a3e4c authored by SergeyLuzyanin's avatar SergeyLuzyanin

b_save_format

parent cbab75dc
......@@ -433,9 +433,9 @@ var editor;
return AscCommon.g_clipboardBase.Button_Cut();
};
spreadsheet_api.prototype.asc_PasteData = function (_format, data1, data2, text_data) {
spreadsheet_api.prototype.asc_PasteData = function (_format, data1, data2, text_data, b_save_format) {
if (!this.getViewMode()) {
this.wb.pasteData(_format, data1, data2, text_data);
this.wb.pasteData(_format, data1, data2, text_data, b_save_format);
}
};
......
......@@ -1290,7 +1290,7 @@
_elem.innerHTML = htmlText;
document.body.appendChild(_elem);
this.incrementCounterLongAction();
this.asc_PasteData(AscCommon.c_oAscClipboardDataFormat.HtmlElement, _elem);
this.asc_PasteData(AscCommon.c_oAscClipboardDataFormat.HtmlElement, _elem, undefined, undefined, true);
this.decrementCounterLongAction();
if (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