All Projects β†’ mbouclas β†’ tinymce-vue-2

mbouclas / tinymce-vue-2

Licence: other
A vue 2 component for TinyMCE

Programming Languages

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

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

Plugin.wordpress
πŸ“¦ Official WordPress Plugin of EnlighterJS
Stars: ✭ 93 (+93.75%)
Mutual labels:  tinymce
Vue Tinymce
提供给 vue εΌ€ε‘θ€…δ½Ώη”¨ηš„ TinyMCE η»„δ»Ά
Stars: ✭ 124 (+158.33%)
Mutual labels:  tinymce
Landing-CMS
A simple CMS for landing pages
Stars: ✭ 78 (+62.5%)
Mutual labels:  tinymce
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 (+104.17%)
Mutual labels:  tinymce
Django Tinymce4 Lite
TinyMCE 4 editor widget for Django
Stars: ✭ 121 (+152.08%)
Mutual labels:  tinymce
Tinymce Angular
Official TinyMCE Angular Component
Stars: ✭ 216 (+350%)
Mutual labels:  tinymce
Tinymce Vue
Official TinyMCE Vue component
Stars: ✭ 1,198 (+2395.83%)
Mutual labels:  tinymce
laravel-responsivefilemanager
Laravel Responsive File Manager integration
Stars: ✭ 13 (-72.92%)
Mutual labels:  tinymce
Laravel Filemanager
Media gallery with CKEditor, TinyMCE and Summernote support. Built on Laravel file system.
Stars: ✭ 1,688 (+3416.67%)
Mutual labels:  tinymce
Vue Element Admin
πŸŽ‰ A magical vue admin https://panjiachen.github.io/vue-element-admin
Stars: ✭ 73,044 (+152075%)
Mutual labels:  tinymce
Laravel Filemanager Example 5.3
Demo integration for laravel-filemanager (https://github.com/UniSharp/laravel-filemanager).
Stars: ✭ 100 (+108.33%)
Mutual labels:  tinymce
Tinymce Dist
Official TinyMCE repository for production usage in package managers
Stars: ✭ 106 (+120.83%)
Mutual labels:  tinymce
Vue Tinymce Editor
This a component provides use of tinymce for vue developers
Stars: ✭ 216 (+350%)
Mutual labels:  tinymce
Tinymce
The world's #1 JavaScript library for rich text editing. Available for React, Vue and Angular
Stars: ✭ 10,179 (+21106.25%)
Mutual labels:  tinymce
strapi-tinymce
Strapi extension to overwrite the current Wysiwyg by Tinymce
Stars: ✭ 39 (-18.75%)
Mutual labels:  tinymce
Filemanager Laravel
FileManager for Laravel integrated with TinyMCE
Stars: ✭ 87 (+81.25%)
Mutual labels:  tinymce
Tinymce Mention
Mention/Autocomplete plugin for tinyMCE WYSIWYG editor.
Stars: ✭ 181 (+277.08%)
Mutual labels:  tinymce
xkeditor
πŸ“ XK-Editor | δΈ€δΈͺζ”―ζŒε―Œζ–‡ζœ¬ε’ŒMarkdownηš„ηΌ–θΎ‘ε™¨
Stars: ✭ 58 (+20.83%)
Mutual labels:  tinymce
vue-tinymce-editor
This a component provides use of tinymce for vue developers
Stars: ✭ 221 (+360.42%)
Mutual labels:  tinymce
Fmelfinderbundle
πŸ“ ElFinderBundle provides ElFinder integration with TinyMCE, CKEditor, Summernote editors
Stars: ✭ 231 (+381.25%)
Mutual labels:  tinymce

tinymce-vue-2

A vue 2 component for TinyMCE.

Install

npm install tinymce-vue-2

How to use

  • Make sure that window.tinymce is present or it will not work
  • Then in your code just import it like so : import TinyMCE from 'tinymce-vue-2';
  • Finally, added to your component as components. If you want it globally available you can just to this : Vue.component('tiny-mce', TinyMCE);
  • Check the examples on how to use it in your template

Examples

Using the default options, you just need to pass an id and a model

<tiny-mce id="description" v-model="description"></tiny-mce>

Check the binding by doing something like <div v-html="description"></div> anywhere in your template.

Check bellow on how to configure and extend the editor.

Changing the menubar

Read the documentation first

Pass a prop called menubar which is either a string or a string variable. It can either be a string or a boolean

<tiny-mce id="descriptionLong"
        v-model="descriptionLong"
        :toolbar="'undo redo'"
></tiny-mce>

Changing the toolbar

Read the documentation first

Pass a prop called toolbar which is either a string or a string variable to set the toolbar

<tiny-mce id="descriptionLong"
        v-model="descriptionLong"
        :toolbar="'undo redo'"
></tiny-mce>

It can also be an array which will set multiple toolbars

[
    'undo redo | styleselect | bold italic | link image',
    'alignleft aligncenter alignright'
  ]

or even a boolean like false to disable it

Passing other configuration options

You can pass any of the documented options to the editor using the otherProps property like so

Read the documentation first

<tiny-mce id="descriptionLong"
        v-model="descriptionLong"
        :other-props="{min_height:500, elementpath: false, allow_conditional_comments: false}"
></tiny-mce>

This allows you to freely configure the editor since all it does is merging your object with the tinymce one

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