打开编辑器根目录下面的ueditor.all.js文件,找到:
table.setAttribute(“data-sort”, cmd == “enablesort” ? “sortEnabled” : “sortDisabled”)
在这句代码下面加一行:
table.setAttribute(“style”, “border-collapse:collapse;”);
在ueditor.all.js文件中找到:
return ‘
改为:
return ‘’ + html.join(’’) + ‘
修改配置文件ueditor.config.js 找到:
whitList
下一行添加:
iframe: [‘frameborder’,‘border’,‘marginwidth’,‘marginheight’,‘width’,‘height’,‘src’,‘id’],//动态地图
文章转载自:https://www.cnblogs.com/CcPz/p/10012122.html