新下載的ueditor 增加了xss 安全過慮,把iframe過濾了,導致本身的地圖動態功能也限制了。
說明:新版本ueditor要修改 xss過濾白名單
修改配置文件ueditor.config.js
搜索: whitList 增加下面第二行即可
,whitList:{ iframe: ['frameborder','border','marginwidth','marginheight','width','height','src','id'],//增加這一行 a: ['target', 'href', 'title', 'class', 'style'],