A lightweight WYSIWYG editor for Vue.js

vue wysiwyg

A lightweight WYSIWYG editor for Vue.js

Usage

In your main.js:

Vue.use(wysiwyg, {});
// config is optional. more below

Also make sure to load the stylesheet. The exact syntax will depend on what preprocessor you use.

@import "~vue-wysiwyg/dist/vueWysiwyg.css";

In your components:

<wysiwyg v-model="myHTML" />