https://github.com/devforth/quilljs-image-buttons
Overlay image buttons for quill
https://github.com/devforth/quilljs-image-buttons
Last synced: 4 months ago
JSON representation
Overlay image buttons for quill
- Host: GitHub
- URL: https://github.com/devforth/quilljs-image-buttons
- Owner: devforth
- Created: 2020-12-11T11:37:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-12-11T11:44:18.000Z (over 4 years ago)
- Last Synced: 2025-01-08T07:48:55.295Z (6 months ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# quilljs-image-buttons
Overlay image buttons for quill
```js
import Quill from 'quill';
import { imageButtons } from 'quilljs-image-buttons';Quill.register('modules/imageButtons', imageButtons);
const quill = new Quill(editor, {
modules: {
imageButtons: [
html: 'Edit',
callback: function(imageSrc, replaceImage) {
replaceImage(new_image_src)
},
],
}
});
```