0.1.2 • Published 3 years ago

vue-tiny-editor v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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 list
  • bold: false: remove the bold button
  • italic: false: : remove the italic button
  • underline: false: remove the underline button
  • fontName: false: remove the font drop down list
  • foreColor: false: : remove the text color button
  • justifyLeft: false: remove the left align button
  • justifyCenter: false: remove the center align button
  • justifyRight: false: remove the right align button
  • insertOrderedList: false: remove the numbered list button
  • insertUnorderedList: false: remove the bulleted list button
  • outdent: false: remove the decrease indent button
  • indent: false: remove the increase indent button
  • removeFormat: false: remove the clear formatting button
0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago