Install
npm install --save vm-editor
Usage
import VmEditor from 'vm-editor'
Trigger upload event by click upload button
<VmEditor width="950px" height="400px" @upload="showHtml"> </VmEditor> ... methods: { getHtml: function (data) { //data contains html string for render } }