Commit 22de378a authored by GoshaZotov's avatar GoshaZotov

fix bug: error if paste from clipboard specific html

parent 0f027e9b
......@@ -7344,7 +7344,7 @@ PasteProcessor.prototype =
var sSrc = node.getAttribute("src");
if((!window["Asc"] || (window["Asc"] && window["Asc"]["editor"] === undefined)) && (isNaN(nWidth) || isNaN(nHeight) || !(typeof nWidth === "number") || !(typeof nHeight === "number")//первое условие - мы не в редакторе таблиц, тогда выполняем
|| nWidth === 0 || nHeight === 0))
|| nWidth === 0 || nHeight === 0) && sSrc)
{
var img_prop = new Asc.asc_CImgProperty();
img_prop.asc_putImageUrl(sSrc);
......
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