Gathering detailed insights and metrics for vue-ckeditor2
Gathering detailed insights and metrics for vue-ckeditor2
Gathering detailed insights and metrics for vue-ckeditor2
Gathering detailed insights and metrics for vue-ckeditor2
npm install vue-ckeditor2
Typescript
Module System
Node Version
NPM Version
52.3
Supply Chain
97.7
Quality
75.5
Maintenance
100
Vulnerability
98.9
License
Vue (91.83%)
JavaScript (6.81%)
Shell (1.36%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
168 Stars
161 Commits
64 Forks
9 Watchers
4 Branches
14 Contributors
Updated on Apr 02, 2025
Latest Version
2.1.5
Package Id
vue-ckeditor2@2.1.5
Unpacked Size
66.51 kB
Size
33.04 kB
File Count
12
NPM Version
6.7.0
Node Version
11.12.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
6
Ckeditor using for Vue.js 2
1<script src="https://unpkg.com/vue-ckeditor2"></script>
$ npm install vue-ckeditor2 --save
This document applies to v2.0+. If you are looking for older versions, docs are here
Then in your component:
1<template> 2 <div> 3 <vue-ckeditor 4 v-model="content" 5 :config="config" 6 @blur="onBlur($event)" 7 @focus="onFocus($event)" 8 @contentDom="onContentDom($event)" 9 @dialogDefinition="onDialogDefinition($event)" 10 @fileUploadRequest="onFileUploadRequest($event)" 11 @fileUploadResponse="onFileUploadResponse($event)" /> 12 </div> 13</template> 14 15<script> 16import VueCkeditor from 'vue-ckeditor2'; 17 18export default { 19 components: { VueCkeditor }, 20 data() { 21 return { 22 content: '', 23 config: { 24 toolbar: [ 25 ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'] 26 ], 27 height: 300 28 } 29 }; 30 }, 31 methods: { 32 onBlur(evt) { 33 console.log(evt); 34 }, 35 onFocus(evt) { 36 console.log(evt); 37 }, 38 onContentDom(evt) { 39 console.log(evt); 40 }, 41 onDialogDefinition(evt) { 42 console.log(evt); 43 }, 44 onFileUploadRequest(evt) { 45 console.log(evt); 46 }, 47 onFileUploadResponse(evt) { 48 console.log(evt); 49 } 50 } 51}; 52</script>
Name | Type | Description |
---|---|---|
name | String | Name of instance ckedior. **Default: editor- ** |
id | String | Id of instance ckedior. Default: editor-1 |
types | String | Types of ckedior. Default: classic |
config | Object | All configuration of ckeditor. Default: {} |
instanceReadyCallback | Function | Optional function that will be attached to CKEditor instanceReady event. |
readOnlyMode | Boolean | Option setReadOnly editor initializes in the proper mode. Default: false |
Name | Description |
---|---|
blur | Fired when the editor instance loses the input focus. |
focus | Fired when the editor instance receives the input focus. |
contentDom | Event fired when the editor content (its DOM structure) is ready |
dialogDefinition | Event fired when a dialog definition is about to be used to create a dialog into an editor instance |
fileUploadRequest | Event fired when the file loader should send XHR |
fileUploadResponse | Event fired when the file loader response is received and needs to be parsed |
You can use vue-cli with vue-rollup-boilerplate templates or other vue templates
Thanks to:
MIT © Dang Van Thanh
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 3/26 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
16 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More