操作方法:

UEditor编辑器插入第三方视频地址

 

备注:UEditor插入视频,Object Iframe等标签被过滤问题处理

ueditor.all.js添加 

case 'embed':
str = '<iframe frameborder="0" width="' + width + '" height="' + height + '" src="' + utils.html(url) + '" allowfullscreen="allowfullscreen"/> ';
break;

UEditor编辑器插入第三方视频地址

 

ueditor.config.js文件添加 

iframe: ['frameborder', 'src', 'width', 'height']

UEditor编辑器插入第三方视频地址

 

相关文章:

  • 2022-12-23
  • 2021-09-13
  • 2021-07-03
  • 2022-02-01
  • 2021-08-31
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
猜你喜欢
  • 2021-08-27
  • 2021-11-14
  • 2022-12-23
  • 2021-12-05
  • 2022-12-23
  • 2022-12-23
  • 2021-09-07
相关资源
相似解决方案