0.1.2 • Published 3 years ago
vue-tiny-editor v0.1.2
vue-tiny-editor
A tiny HTML rich text editor based on (tiny-editor).
How to install
npm install vue-tiny-editor
Usage
import TinyEditor from "vue-tiny-editor";
import "vue-tiny-editor/lib/index.css";
export default {
components: {
TinyEditor,
},
};
Customize
<template>
<tiny-editor v-model="content" :options="{ bold: false }"></tiny-editor>
</template>
Options
formatBlock: false
: remove the styles drop down listbold: false
: remove the bold buttonitalic: false
: : remove the italic buttonunderline: false
: remove the underline buttonfontName: false
: remove the font drop down listforeColor: false
: : remove the text color buttonjustifyLeft: false
: remove the left align buttonjustifyCenter: false
: remove the center align buttonjustifyRight: false
: remove the right align buttoninsertOrderedList: false
: remove the numbered list buttoninsertUnorderedList: false
: remove the bulleted list buttonoutdent: false
: remove the decrease indent buttonindent: false
: remove the increase indent buttonremoveFormat: false
: remove the clear formatting button