tinymce-vue-2 icon indicating copy to clipboard operation
tinymce-vue-2 copied to clipboard

adding tinymce plugins

Open stusmitharoo opened this issue 7 years ago • 3 comments

This is not an issue how do you pass plugins to the component to customize toolbar ie color picker and image upload

Thank ou in advance

stusmitharoo avatar Feb 04 '18 10:02 stusmitharoo

First you need to read the official docs, then you can change the toolbar like so

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

mbouclas avatar Feb 04 '18 10:02 mbouclas

Ok thanks theres no plugin prop to pass to component just add straight to toolbar thanks

stusmitharoo avatar Feb 04 '18 16:02 stusmitharoo

<tiny-mce id="details" :toolbar="'code forecolor backcolor'" v-model="single.content" :other-props="{plugins: 'code textcolor colorpicker'}" .... and copy the plugins folder to the server/apps public root.

saaiful avatar Apr 03 '18 19:04 saaiful