# quill-image-drop-module

> A module for Quill rich text editor to allow images to be pasted and drag/dropped into the editor.

Latest version **1.0.3** (published 2017-03-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install quill-image-drop-module
pnpm add quill-image-drop-module
yarn add quill-image-drop-module
bun add quill-image-drop-module
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2017-03-30 |
| First published | 2017-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 223 |
| Author | @kensnyder |
| Maintainers | kensnyder |
| Keywords | quill, quilljs, image, drag, and, drop, drop, paste |

## Links

- npm: https://www.npmjs.com/package/quill-image-drop-module
- Repository: https://github.com/kensnyder/quill-image-drop-module
- Homepage: https://github.com/kensnyder/quill-image-drop-module#readme
- Issues: https://github.com/kensnyder/quill-image-drop-module/issues
- npm.io page: https://npm.io/package/quill-image-drop-module

## Dependencies (1)

- [quill](https://npm.io/package/quill.md) ^1.2.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2017-03-30
- 1.0.0 (beta) — 2017-03-18
- 1.0.2 — 2017-03-25
- 1.0.1 — 2017-03-25

## README

# Quill ImageDrop Module

A module for Quill rich text editor to allow images to be pasted and drag/dropped into the editor.

## Demo

[Plunker](https://plnkr.co/edit/ubVmPkBjqQESsefM3JrT?p=preview)

## Usage

### Webpack/ES6

```javascript
import Quill from 'quill';
import { ImageDrop } from 'quill-image-drop-module';

Quill.register('modules/imageDrop', ImageDrop);

const quill = new Quill(editor, {
    // ...
    modules: {
        // ...
        imageDrop: true
    }
});
```

### Script Tag

Copy image-drop.min.js into your web root or include from node_modules

```html
<script src="/node_modules/quill-image-drop-module/image-drop.min.js"></script>
```

```javascript
var quill = new Quill(editor, {
    // ...
    modules: {
        // ...
        imageDrop: true
    }
});
```

---
_Source: https://npm.io/package/quill-image-drop-module · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
