Skip to content

tans/vue-simditor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple to use simditor in vue

源代码20行以内,如功能不满足可自行修改。

使用方法

  1. 引入 vue-simditor.js
<script src='/vue-simditor.js'></script>
  1. 使用自定义组件
<simditor id="editor" v-model="message" v-bind:toolbar="['link', '|', 'image']"></simditor>

属性说明

id为必须传入, 识别生成编辑器

v-model 为绑定值

v-bind:toolbar 为自定义的simditor参数, 如需使用其他参数,请自行修改。

About

vue wrapper for simditor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published