Skip to content

UMN-LATIS/quill-better-image-module

Repository files navigation

Quill Better Image Module

This adds some enhancements to the Quill editor images:

  • Image Resizing
  • Editing Alt Text

Getting Started

npm install @umn-latis/quill-better-image-module

or

yarn add @umn-latis/quill-better-image-module

Usage

import Quill from "quill";
import QuillBetterImage from "@umn-latis/quill-better-image-module";

Quill.register("modules/betterImage", QuillBetterImage);

const quill = new Quill(editor, {
  // ...
  modules: {
    // ...
    betterImage: {
      // see DefaultOptions for available options
    },
  },
});

See DefaultOptions for available options.

License

MIT License

Acknowledgements

Based on Quill Image Resize Module