Commit 640b92f0 authored by GoshaZotov's avatar GoshaZotov

fix error(copy/paste form html(firefox) into cell editor(chrome))

parent 98668793
......@@ -5034,7 +5034,7 @@ PasteProcessor.prototype =
rPr.RFonts.EastAsia = {Name: oFontItem.Name, Index: oFontItem.Index};
}
}
var font_size = node.style.fontSize;
var font_size = node.style ? node.style.fontSize : null;
if(!font_size)
font_size = computedStyle.getPropertyValue( "font-size" );
if(font_size)
......
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