Commit b447ebd1 authored by GoshaZotov's avatar GoshaZotov

fixed error(paste html with table into cell editor)

parent 1b33bc6a
...@@ -5299,7 +5299,7 @@ PasteProcessor.prototype = ...@@ -5299,7 +5299,7 @@ PasteProcessor.prototype =
var nCurSum = 0; var nCurSum = 0;
var nAllSum = 0; var nAllSum = 0;
var oRowSpans = {}; var oRowSpans = {};
var columnSize = this.oLogicDocument ? this.oLogicDocument.GetColumnSize() : null; var columnSize = ((!window["Asc"] || (window["Asc"] && window["Asc"]["editor"] === undefined))) && this.oLogicDocument ? this.oLogicDocument.GetColumnSize() : null;
var fParseSpans = function() var fParseSpans = function()
{ {
var spans = oRowSpans[nCurColWidth]; var spans = oRowSpans[nCurColWidth];
......
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