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

Merge branch 'fix/paste_table_width' into 'wrdp'

正文编辑粘贴表格宽度控制

See merge request o2oa/o2oa!4585
......@@ -2551,7 +2551,7 @@ MWF.xApplication.process.Xform.Documenteditor = MWF.APPDocumenteditor = new Cla
var tableList = tmp.getElements("table");
if (tableList && tableList.length){
var w = this.layout_filetext.offsetWidth.toFloat();
var w = this.layout_filetext.offsetWidth.toFloat()-2;
tableList.each(function(table){
var twstyle = table.getStyle("width");
var tws = (twstyle) ? (twstyle.toFloat() || 0) : 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册