quill-image-resize-module
quill-image-resize-module copied to clipboard
Cannot import the image resize
Below is my example in vue project as component. But if i comment line 13 & 15, thee project work fine and the quiill editor can be showed. Otherwise is not. What is the problem with that?
<template>
<div>
<quillEditor v-model="content" />
{{ content }}
</div>
</template>
<script>
import "quill/dist/quill.core.css";
import "quill/dist/quill.snow.css";
import "quill/dist/quill.bubble.css";
import { quillEditor, Quill } from "vue-quill-editor";
import ImageResize from "quill-image-resize-module";
Quill.register("modules/imageResize", ImageResize);
export default {
data() {
return {
content: "<p>example content</p>",
editorOption: {
modules: {}
}
};
},
components: {
quillEditor
}
};
</script>
same thing, what to do?
See https://github.com/kensnyder/quill-image-resize-module/issues/106 and also https://github.com/concrete-cc/quill-image-resize-module-react/issues/4