删除富文本video事件
This commit is contained in:
		
							parent
							
								
									25d9edd5c9
								
							
						
					
					
						commit
						c8b66f9b04
					
				| 
						 | 
					@ -130,14 +130,14 @@ export default {
 | 
				
			||||||
            this.quill.format("image", false);
 | 
					            this.quill.format("image", false);
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
        toolbar.addHandler("video", (value) => {
 | 
					        // toolbar.addHandler("video", (value) => {
 | 
				
			||||||
          this.uploadType = "video";
 | 
					        //   this.uploadType = "video";
 | 
				
			||||||
          if (value) {
 | 
					        //   if (value) {
 | 
				
			||||||
            this.$refs.upload.$children[0].$refs.input.click();
 | 
					        //     this.$refs.upload.$children[0].$refs.input.click();
 | 
				
			||||||
          } else {
 | 
					        //   } else {
 | 
				
			||||||
            this.quill.format("video", false);
 | 
					        //     this.quill.format("video", false);
 | 
				
			||||||
          }
 | 
					        //   }
 | 
				
			||||||
        });
 | 
					        // });
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      this.Quill.pasteHTML(this.currentValue);
 | 
					      this.Quill.pasteHTML(this.currentValue);
 | 
				
			||||||
      this.Quill.on("text-change", (delta, oldDelta, source) => {
 | 
					      this.Quill.on("text-change", (delta, oldDelta, source) => {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue