Gathering detailed insights and metrics for vue-quill-editor-plus
Gathering detailed insights and metrics for vue-quill-editor-plus
Gathering detailed insights and metrics for vue-quill-editor-plus
Gathering detailed insights and metrics for vue-quill-editor-plus
npm install vue-quill-editor-plus
Typescript
Module System
Node Version
NPM Version
43.5
Supply Chain
71
Quality
79.8
Maintenance
50
Vulnerability
100
License
JavaScript (83.19%)
Vue (16.81%)
Total Downloads
638
Last Day
1
Last Week
2
Last Month
14
Last Year
638
MIT License
2 Stars
22 Commits
1 Watchers
2 Branches
1 Contributors
Updated on Nov 14, 2024
Latest Version
1.0.6
Package Id
vue-quill-editor-plus@1.0.6
Unpacked Size
14.45 kB
Size
5.82 kB
File Count
5
NPM Version
10.5.0
Node Version
18.20.2
Published on
Sep 02, 2024
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
0%
2
Compared to previous week
Last Month
-63.2%
14
Compared to previous month
Last Year
0%
638
Compared to previous year
2
76
Quill editor component for Vue(2) with additional features.
This project is a fork of the original vue-quill-editor by surmon-china, which is no longer actively maintained. We've added some new features and improvements to keep the project up-to-date.
Added a new feature to upload images to the server insted of adding them directly to the editor in base64 format.
You can pass a prop called imageUploader
to the component which is a function and it should return a promise that resolves to the image url.
If no imageUploader is provided then the component will fall back to the original implementation of quill's image module.
1<quill-editor 2 :options="editorOptions" 3 :image-uploader="imageUploadCB" 4 v-model="content" 5/>
1const imageUploadCB = (file) => { 2 return new Promise((resolve, reject) => { 3 // upload file to server and get the url 4 // resolve the url 5 resolve('https://example.com/image.jpg'); 6 }); 7};
1const editorOptions = { 2 modules: { 3 toolbar: [ 4 ['bold', 'italic', 'underline', 'strike'], 5 ['blockquote'], 6 [{ 'header': 1 }, { 'header': 2 }], 7 [{ 'header': [1, 2, 3, 4, 5, 6, false] }], 8 [{ 'list': 'ordered' }, { 'list': 'bullet' }], 9 [{ 'color': [] }, { 'background': [] }], 10 [{ 'align': [] }], 11 ['image'] 12 ] 13 } 14}
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
No vulnerabilities found.
No security vulnerabilities found.