Installations
npm install vue-tinymce-editor
Developer Guide
Typescript
No
Module System
CommonJS
Min. Node Version
>= 4.0.0
Node Version
6.11.3
NPM Version
3.10.10
Score
59.2
Supply Chain
95.9
Quality
75.1
Maintenance
50
Vulnerability
98.6
License
Releases
Unable to fetch releases
Contributors
Unable to fetch Contributors
Languages
JavaScript (68.23%)
Vue (30.9%)
HTML (0.87%)
Developer
dyonir
Download Statistics
Total Downloads
396,048
Last Day
83
Last Week
768
Last Month
4,301
Last Year
58,792
GitHub Statistics
8 Stars
1 Commits
7 Forks
1 Watching
1 Branches
1 Contributors
Package Meta Information
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
Total Downloads
Cumulative downloads
Total Downloads
396,048
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
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
3
Dev Dependencies
35
vue-tinymce-editor
This a component provides easy use of tinymce for vue developers
Demo
You can see a demo and an example in this page: Demo & examples
Instalation
1$ npm install vue-tinymce-editor
How to use
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}
Properties
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 |
Events
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 |
Localization
If you wish to use tinymce in other languages, please follow these steps:
- Download the language pack you wish to use from here.
- Unpack the language file into your desired path, which is accessible from outside and there is a URL pointing to it.
- Finally, set language_url in other_options to the URL pointing to the language file.
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>
Direct access to tinymce editor
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
- Warn: no pull requests merged into dev branch
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
license file not detected
Details
- Warn: project does not have a license file
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'main'
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
2.6
/10
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