https://github.com/arnauddrain/quill-media-resize
Quill media resize plugin
https://github.com/arnauddrain/quill-media-resize
ngx-quill quill quill-editor quilljs resize
Last synced: 25 days ago
JSON representation
Quill media resize plugin
- Host: GitHub
- URL: https://github.com/arnauddrain/quill-media-resize
- Owner: arnauddrain
- Created: 2021-12-10T19:45:31.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-03-12T17:04:20.000Z (over 3 years ago)
- Last Synced: 2025-08-31T01:34:41.711Z (about 1 month ago)
- Topics: ngx-quill, quill, quill-editor, quilljs, resize
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/quill-media-resize
- Size: 120 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quill Media Resize Module
A module for Quill rich text editor to allow images to be resized.
This module is very inspired by Ken Snyder's [quill-image-resize-module](https://github.com/kensnyder/quill-image-resize-module).
Only for images for now but aiming to handle videos and other media later.The changelog is available on the [releases page](https://github.com/arnauddrain/quill-media-resize/releases).
## How to use
### Vanilla
```html
```
```js
new Quill("#editor", {
modules: {
mediaResize: true,
},
});
```### With [ngx-quill](https://github.com/KillerCodeMonkey/ngx-quill)
```ts
import { MediaResize } from 'quill-media-resize';// ...
@NgModule({
imports: [
...,QuillModule.forRoot({
customModules: [
{
implementation: MediaResize,
path: 'modules/MediaResize'
}
],
modules: {
MediaResize: true
},
})
],
...
})
class YourModule { ... }
```