首页 > 技术文章 > 解决百度ueditor插入动态地图空白 支持iframe方法

init-007 2019-07-07 23:13 原文

说明:新版本ueditor要修改 xss过滤白名单 

修改配置文件ueditor.config.js 

搜索:  whitList 增加下面一行即可

,whitList:{
iframe: ['frameborder','border','marginwidth','marginheight','width','height','src','id'],//增加这一行
a:      ['target', 'href', 'title', 'class', 'style'],

原文:https://blog.csdn.net/happy_jijiawei/article/details/79033744 

推荐阅读