Browse Source

去掉编辑器上传图片视频按钮

gcz 3 years ago
parent
commit
e0ee83aa27
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/components/edit/index.vue

+ 2 - 1
src/components/edit/index.vue

@@ -88,7 +88,8 @@ export default {
             [{ color: [] }, { background: [] }],             // 字体颜色、字体背景颜色
             [{ align: [] }],                                 // 对齐方式
             ["clean"],                                       // 清除文本格式
-            ["link", "image", "video"]                       // 链接、图片、视频
+            // ["link", "image", "video"]                       // 链接、图片、视频
+            ["link"]                       // 链接、图片、视频
           ]
         },
         placeholder: "请添加描述",