quill-image-resize-module icon indicating copy to clipboard operation
quill-image-resize-module copied to clipboard

Cannot import the image resize

Open chris-yeung opened this issue 3 years ago • 2 comments

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>

chris-yeung avatar Apr 26 '21 03:04 chris-yeung

same thing, what to do?

Alamonall avatar Oct 22 '21 03:10 Alamonall

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

gabrielchaves7 avatar Oct 25 '22 16:10 gabrielchaves7