Explorar o código

删除富文本video事件

RuoYi %!s(int64=4) %!d(string=hai) anos
pai
achega
99206a5d65
Modificáronse 1 ficheiros con 8 adicións e 8 borrados
  1. 8 8
      ruoyi-ui/src/components/Editor/index.vue

+ 8 - 8
ruoyi-ui/src/components/Editor/index.vue

@@ -130,14 +130,14 @@ export default {
130 130
             this.quill.format("image", false);
131 131
           }
132 132
         });
133
-        toolbar.addHandler("video", (value) => {
134
-          this.uploadType = "video";
135
-          if (value) {
136
-            this.$refs.upload.$children[0].$refs.input.click();
137
-          } else {
138
-            this.quill.format("video", false);
139
-          }
140
-        });
133
+        // toolbar.addHandler("video", (value) => {
134
+        //   this.uploadType = "video";
135
+        //   if (value) {
136
+        //     this.$refs.upload.$children[0].$refs.input.click();
137
+        //   } else {
138
+        //     this.quill.format("video", false);
139
+        //   }
140
+        // });
141 141
       }
142 142
       this.Quill.pasteHTML(this.currentValue);
143 143
       this.Quill.on("text-change", (delta, oldDelta, source) => {