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

修改配置文件ueditor.config.js 

搜索:  whitList 增加下面第二行即可

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

  

相关文章:

  • 2021-12-05
  • 2022-03-05
  • 2021-08-11
  • 2022-01-08
  • 2021-11-06
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-13
  • 2021-09-09
  • 2022-12-23
  • 2022-03-07
  • 2022-01-20
  • 2021-10-18
  • 2022-12-23
相关资源
相似解决方案