All Projects β†’ theroozbeh β†’ vue-tinymce-editor

theroozbeh / vue-tinymce-editor

Licence: other
This a component provides use of tinymce for vue developers

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects

Projects that are alternatives of or similar to vue-tinymce-editor

Vue Tinymce Editor
This a component provides use of tinymce for vue developers
Stars: ✭ 216 (-2.26%)
Mutual labels:  tinymce, vue2
Fmelfinderbundle
πŸ“ ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
Stars: ✭ 231 (+4.52%)
Mutual labels:  tinymce
Laravel Filemanager Example 5.3
Demo integration for laravel-filemanager (https://github.com/UniSharp/laravel-filemanager).
Stars: ✭ 100 (-54.75%)
Mutual labels:  tinymce
Tinymce
The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
Stars: ✭ 10,179 (+4505.88%)
Mutual labels:  tinymce
Tinymce Dist
Official TinyMCE repository for production usage in package managers
Stars: ✭ 106 (-52.04%)
Mutual labels:  tinymce
Vue Element Admin
πŸŽ‰ A magical vue admin https://panjiachen.github.io/vue-element-admin
Stars: ✭ 73,044 (+32951.58%)
Mutual labels:  tinymce
vue-toast
vue.js toast tips ζη€Ίζ–‡ζœ¬ Vue1.0&2.0
Stars: ✭ 17 (-92.31%)
Mutual labels:  vue2
Tinymce Mention
Mention/Autocomplete plugin for tinyMCE WYSIWYG editor.
Stars: ✭ 181 (-18.1%)
Mutual labels:  tinymce
Tinymce Angular
Official TinyMCE Angular Component
Stars: ✭ 216 (-2.26%)
Mutual labels:  tinymce
vue-ray
Debug your Vue 2 & 3 code with Ray to fix problems faster
Stars: ✭ 48 (-78.28%)
Mutual labels:  vue2
Django Tinymce4 Lite
TinyMCE 4 editor widget for Django
Stars: ✭ 121 (-45.25%)
Mutual labels:  tinymce
Vue Tinymce
提供给 vue εΌ€ε‘θ€…δ½Ώη”¨ηš„ TinyMCE η»„δ»Ά
Stars: ✭ 124 (-43.89%)
Mutual labels:  tinymce
Landing-CMS
A simple CMS for landing pages
Stars: ✭ 78 (-64.71%)
Mutual labels:  tinymce
Filemanagerbundle
FileManager is a simple Multilingual File Manager Bundle for Symfony
Stars: ✭ 105 (-52.49%)
Mutual labels:  tinymce
vue-string-filter
βœ‚οΈ Vue 2.x lightweight string manipulation filter
Stars: ✭ 38 (-82.81%)
Mutual labels:  vue2
2sxc
DNN + 2sxc = #DNNCMS - This tool helps web designers and developers prepare great looking content in DNN (DotNetNuke). It's like mixing DNN with Umbraco and Drupal :)
Stars: ✭ 98 (-55.66%)
Mutual labels:  tinymce
vue-input-autowidth
A Vue.js directive that automatically resizes an input's width to fit its contents.
Stars: ✭ 94 (-57.47%)
Mutual labels:  vue2
vue-editor
This is a powerful and based on the 'Vue' Markdown editor.πŸ˜‚πŸ˜‚
Stars: ✭ 31 (-85.97%)
Mutual labels:  vue2
vue-text-marquee
A Vue component to Marquee. Just used CSS3 animation.
Stars: ✭ 24 (-89.14%)
Mutual labels:  vue2
strapi-tinymce
Strapi extension to overwrite the current Wysiwyg by Tinymce
Stars: ✭ 39 (-82.35%)
Mutual labels:  tinymce

vue-tinymce-editor

This a component provides easy use of tinymce for vue developers

Donate Donate

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:

  1. Download the language pack you wish to use from here.
  2. Unpack the language file into your desired path, which is accessible from outside and there is a URL pointing to it.
  3. 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. Donate or you can buy me a coffee Donate

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].