解决百度编辑器在编辑视频时src丢失的问题

问题描述:使用的是最新的UEditor 1.4.3.3版本,在上传完视频后,编辑的时候出现视频的src丢失的问题

解决方式:修改ueditor.config.js文件,将

img:    ['src', 'alt', 'title', 'width', 'height', 'id', '_src', 'loadingclass', 'class', 'data-latex'],

改为

img:    ['src', 'alt', 'title', 'width', 'height', 'id', '_url', 'loadingclass', 'class', 'data-latex'],

 

posted @ 2017-11-14 17:54  魔豆  阅读(1568)  评论(0编辑  收藏  举报