Browse Source

后台富文本删除选择视频

萤火科技 5 years ago
parent
commit
f5af19bee1
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/components/Ueditor/Ueditor.vue
  2. 1 1
      src/components/Ueditor/config.js

+ 1 - 1
src/components/Ueditor/Ueditor.vue

@@ -80,7 +80,7 @@ export default {
         })
         // 因为你是添加 button,所以需要返回这个 button
         return btn
-      }, -1 /* 指定添加到工具栏上的哪个位置,默认时追加到最后 */, editorId /* 指定这个 UI 是哪个编辑器实例上的,默认是页面上所有的编辑器都会添加这个按钮 */)
+      }, undefined /* 指定添加到工具栏上的哪个位置,默认时追加到最后 */, editorId /* 指定这个 UI 是哪个编辑器实例上的,默认是页面上所有的编辑器都会添加这个按钮 */)
     },
 
     // 打开文件选择器

+ 1 - 1
src/components/Ueditor/config.js

@@ -33,7 +33,7 @@ export const defaultConfig = {
     'fontsize', '|',
     'indent', 'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
     // 'simpleupload',
-    'insertvideo'
+    // 'insertvideo'
   ]]
   // 当鼠标放在工具栏上时显示的tooltip提示
   // labelMap: {