Skip to content

luosijie/vm-editor

Repository files navigation

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

About

Editor for Vue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published