Sfoglia il codice sorgente

删除富文本video事件

RuoYi 4 anni fa
parent
commit
99206a5d65
1 ha cambiato i file con 8 aggiunte e 8 eliminazioni
  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) => {