提交 fb672613 编写于 作者: NoSubject's avatar NoSubject

修复公文编辑器转word时,IE的样式计算错误问题

上级 c8c8fe89
......@@ -611,7 +611,8 @@ o2.xApplication.process.Xform.widget.OOXML.WordprocessingML = o2.OOXML.WML = new
}
}
var line = dom.getStyle("line-height");
var line = (dom.currentStyle) ? dom.currentStyle["line-height"] : dom.getStyle("line-height");
//var line = dom.getStyle("line-height");
if (line && line.toFloat()){
var line = this.pxToPt(line)*20;
if (line) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册