解决方法
修改配置文件ueditor.config.js
搜索: whitList 增加下面第二行iframe即可
,whitList:{
iframe: ['frameborder','border','marginwidth','marginheight','width','height','src','id'],//增加这一行
a: ['target', 'href', 'title', 'class', 'style'],说明:新版本百度编辑器ueditor要修改 xss过滤白名单
- UEditorPlus开源免费编辑器分享 [2025-04-15]
- ueditor百度编辑器取消span、b、i标签过滤方法 [2024-09-28]
- Novel开源Notion风格WYSIWYG编辑器,支持AI自动补全 [2024-09-04]
- disable-gutenberg禁用古腾堡(Gutenberg)编辑器插件 [2024-08-06]
- 网页版JSON编辑器源码 [2024-07-07]


