/vue-html5-editor-2

An html5 wysiwyg editor for vue

Primary LanguageVueApache License 2.0Apache-2.0

Forked from https://github.com/PeakTai/vue-html5-editor (Vue 1+)

Installation

Npm

npm install vue2-html5-editor

import and install as global component

var Vue = require("vue")
var editor = require("vue2-html5-editor")
Vue.use(editor, {
    name: 'vue2-html5-editor'
});

Usage

template code as follows

<vue2-html5-editor v-model="content" :height="500"></vue2-html5-editor>