码迷,mamicode.com
首页 > 其他好文 > 详细

关于ueditor插入不了动态地图

时间:2018-11-24 15:16:09      阅读:852      评论:0      收藏:0      [点我收藏+]

标签:关于   led   ble   tab   html   文件中   nbsp   cmd   添加   

  

 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插入不了动态地图

标签:关于   led   ble   tab   html   文件中   nbsp   cmd   添加   

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

(0)
(1)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!