Gathering detailed insights and metrics for vue-tinymce-editor
Gathering detailed insights and metrics for vue-tinymce-editor
Gathering detailed insights and metrics for vue-tinymce-editor
Gathering detailed insights and metrics for vue-tinymce-editor
npm install vue-tinymce-editor
Typescript
Module System
Min. Node Version
Node Version
NPM Version
59.2
Supply Chain
95.9
Quality
75.1
Maintenance
50
Vulnerability
98.6
License
JavaScript (68.23%)
Vue (30.9%)
HTML (0.87%)
Total Downloads
396,048
Last Day
83
Last Week
768
Last Month
4,301
Last Year
58,792
8 Stars
1 Commits
7 Forks
1 Watching
1 Branches
1 Contributors
Latest Version
1.6.2
Package Id
vue-tinymce-editor@1.6.2
Unpacked Size
19.56 MB
Size
5.46 MB
File Count
201
NPM Version
3.10.10
Node Version
6.11.3
Cumulative downloads
Total Downloads
Last day
-60.8%
83
Compared to previous day
Last week
-23.2%
768
Compared to previous week
Last month
-7.8%
4,301
Compared to previous month
Last year
-33.9%
58,792
Compared to previous year
3
35
This a component provides easy use of tinymce for vue developers
You can see a demo and an example in this page: Demo & examples
1$ npm install vue-tinymce-editor
1import Vue from 'vue' 2import tinymce from 'vue-tinymce-editor' 3Vue.component('tinymce', tinymce)
You may use the component in your markup
1<tinymce id="d1" v-model="data"></tinymce>
1export default{ 2 data(){ 3 return { 4 data : '' 5 }; 6 } 7}
Property | Type | Default | Description |
---|---|---|---|
id | required, String | id of component's textarea | |
toolbar1 | String | `'formatselect | bold italic strikethrough forecolor backcolor |
toolbar2 | String | '' | Toolbar 2 of tinymce |
plugins | Array | ['advlist autolink lists link image charmap print preview hr anchor pagebreak', 'searchreplace wordcount visualblocks visualchars code fullscreen', 'insertdatetime media nonbreaking save table contextmenu directionality','template paste textcolor colorpicker textpattern imagetools toc help emoticons hr codesample'] | plugins of tinymce you need to load |
other_options | Array | {} | other tinymce options. you can also override our initial options |
readonly | Boolean | false | Enables or disables the Editor |
Event | Parameter | Description |
---|---|---|
editorChange | Event | This event will be called when tinymce calls onchane |
editorInit | Editor | This event will be called after editor is initialized |
If you wish to use tinymce in other languages, please follow these steps:
For example:
1export default{ 2 data(){ 3 return { 4 data : '', 5 options: { 6 language_url: 'http://example.com/js/langs/fa_IR.js' //This url points to location of persian language file. 7 } 8 }; 9 } 10}
1<tinymce id="d1" v-model="data" :other_options="options"></tinymce>
You can access the tinymce itself by setting a ref to this component:
1<tinymce id="d1" v-model="data" ref="tm"></tinymce>
Then you can access the editor by calling:
1this.$refs.tm.editor
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/1 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
no SAST tool detected
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-12-23
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