dyonir / Vue Tinymce Editor
This a component provides use of tinymce for vue developers
Stars: ✭ 216
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Vue Tinymce Editor
Region Picker
A region picker based on Vue and ElementUI.
Stars: ✭ 59 (-72.69%)
Mutual labels: component, vue2
Tinymce
The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
Stars: ✭ 10,179 (+4612.5%)
Mutual labels: editor, tinymce
Stf Vue Select
stf vue select - most flexible and customized select
Stars: ✭ 61 (-71.76%)
Mutual labels: component, vue2
Vuep
🎡 A component for rendering Vue components with live editor and preview.
Stars: ✭ 840 (+288.89%)
Mutual labels: editor, component
Vue Truncate Collapsed
A simple component that truncates your text and adds a 'Read More/Show Less' clickable.
Stars: ✭ 98 (-54.63%)
Mutual labels: component, vue2
Vue Img Inputer
🏞 A graceful image type inputer / uploader
Stars: ✭ 548 (+153.7%)
Mutual labels: component, vue2
Django Tinymce4 Lite
TinyMCE 4 editor widget for Django
Stars: ✭ 121 (-43.98%)
Mutual labels: editor, tinymce
Vue Datatables Net
Vue jQuery DataTables.net wrapper component
Stars: ✭ 119 (-44.91%)
Mutual labels: component, vue2
Vue Quill Editor
🍡@quilljs editor component for @vuejs
Stars: ✭ 6,874 (+3082.41%)
Mutual labels: editor, vue2
Vue Slide Up Down
Like jQuery's slideUp/slideDown, but for Vue!
Stars: ✭ 180 (-16.67%)
Mutual labels: component, vue2
Vue Typer
Vue component that simulates a user typing, selecting, and erasing text.
Stars: ✭ 691 (+219.91%)
Mutual labels: component, vue2
Vue Share Buttons
🔗A set of social buttons for Vue.js
Stars: ✭ 34 (-84.26%)
Mutual labels: component, vue2
React Markdown Editor Lite
a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器
Stars: ✭ 553 (+156.02%)
Mutual labels: editor, component
React Markdown
Markdown editor (input) based on React
Stars: ✭ 98 (-54.63%)
Mutual labels: editor, component
Vuesax
New Framework Components for Vue.js 2
Stars: ✭ 5,293 (+2350.46%)
Mutual labels: component, vue2
Object Editor React
Schema-aware editor for structured JSON objects (drop-in React component)
Stars: ✭ 104 (-51.85%)
Mutual labels: editor, component
Tagger
Zero Dependency, Vanilla JavaScript Tag Editor
Stars: ✭ 135 (-37.5%)
Mutual labels: editor, component
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
$ npm install vue-tinymce-editor
How to use
import Vue from 'vue'
import tinymce from 'vue-tinymce-editor'
Vue.component('tinymce', tinymce)
You may use the component in your markup
<tinymce id="d1" v-model="data"></tinymce>
export default{
data(){
return {
data : ''
};
}
}
Properties
Property | Type | Default | Description |
---|---|---|---|
id | required, String | id of component's textarea | |
toolbar1 | String | 'formatselect | bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | removeformat' |
Toolbar 1 of tinymce |
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:
export default{
data(){
return {
data : '',
options: {
language_url: 'http://example.com/js/langs/fa_IR.js' //This url points to location of persian language file.
}
};
}
}
<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:
<tinymce id="d1" v-model="data" ref="tm"></tinymce>
Then you can access the editor by calling:
this.$refs.tm.editor
Donate
If you like this project and it was useful for you don't let it die. Help me continue it. Thank you. or you can buy me a coffee
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].