首页 > 其他 > 详细

关于ueditor插入不了动态地图

时间:2018-11-24 15:05:46      阅读:318      评论:0      收藏:0      [点我收藏+]

  

 1 1. 打开编辑器根目录下面的ueditor.all.js文件,找到:
 2     table.setAttribute("data-sort", cmd == "enablesort" ? "sortEnabled" : "sortDisabled")
 3      在这句代码下面加一行:
 4 table.setAttribute("style", "border-collapse:collapse;");
 5 
 6 2.在ueditor.all.js文件中找到:
 7     return ‘<table><tbody>‘ + html.join(‘‘) + ‘</tbody></table>‘
 8      改为:
 9     return ‘<table style="border-collapse:collapse;"><tbody>‘ + html.join(‘‘) + ‘</tbody></table>‘
10 
11 3.修改配置文件ueditor.config.js 找到:
12     whitList
13     下一行添加:
14     iframe: [‘frameborder‘,‘border‘,‘marginwidth‘,‘marginheight‘,‘width‘,‘height‘,‘src‘,‘id‘],//动态地图

 

关于ueditor插入不了动态地图

原文:https://www.cnblogs.com/CcPz/p/10012122.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!