surmon-china / vue-quill-editor

@quilljs editor component for @vuejs(2)
https://github.surmon.me/vue-quill-editor
MIT License
7.39k stars 1.03k forks source link

vue-quill-editor使用imageDrop模块时警告 #252

Open lky559 opened 6 years ago

lky559 commented 6 years ago

quill Overwriting modules/imageDrop with class ImageDrop {

/**
 * Instantiate the module given a quill instance and any options
 * @param {Quill} quill
 * @param {Object} options
 */
constructor(quill, options = {}) {
    // save the quill r…
asengardeon commented 6 years ago

Remove the custom module register.

 customModulesForEditor: [
                { alias: 'imageDrop', module: ImageDrop },
                { alias: 'imageResize', module: ImageResize }
            ],

It was enough for me