1、ueditor.all.js
去掉所有的 type="application/x-shockwave-flash"
2、ueditor.all.min.js
去掉所有的 type="application/x-shockwave-flash"
3、ueditor.all.js
//此處將 edui-faked-video 改為 edui-faked,防止后面將此處替換為image標簽
改:cl = (type == 'upload' ? 'edui-upload-video video-js vjs-default-skin':'edui-faked-video');
cl = (type == 'upload' ? 'edui-upload-video video-js vjs-default-skin':'edui-faked');
// 此處將image改為embed實現實時預覽視頻,且修復了第一次插入視頻保存后,刷新后再保存會導致視頻丟失的bug
改:html.push(creatInsertStr( vi.url, vi.width || 420, vi.height || 280, id + i, null, cl, 'image'));
html.push(creatInsertStr( vi.url, vi.width || 420, vi.height || 280, id + i, null, cl, ‘video’));
將以下三行注釋
//var root = UE.htmlparser(html);
//me.filterInputRule(root);
//html = root.toHtml();
總結:目前只是實現了可以上傳和查看,但是上傳后還是存在問題。有時間會繼續更新