vm-editor

0.1.6 • Public • Published

Editor for Vue, Live Demo

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
  }
}

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i vm-editor

Weekly Downloads

16

Version

0.1.6

License

none

Last publish

Collaborators

  • jesseluo