The checklist extension for Simditor
JavaScript CoffeeScript CSS HTML Ruby
Switch branches/tags
Clone or download
Latest commit c6a4685 Oct 20, 2015
Permalink
Failed to load latest commit information.
lib
spec FIX: wrong strikethrough Aug 8, 2015
src
styles
.bowerrc init project Apr 16, 2015
.gitignore init project Apr 16, 2015
Gemfile
Gemfile.lock init project Apr 16, 2015
Gruntfile.coffee
LICENSE
README.md
bower.json
circle.yml
demo.gif
demo.html Refactor code May 21, 2015
package.json

README.md

Simditor Checklist

Circle CI

Simditor 的官方扩展,为工具栏添加一个 checklist 按钮,用于插入 checklist。

Demo Gif

如何使用

在 Simditor 的基础上额外引入 simditor-checklist 的脚本和样式

<link rel="stylesheet" type="text/css" href="/path/to/simditor-checklist.css" />
<script src="/path/to/simditor-checklist.js"></script>

在初始化 simditor 的时候,在 toolbar 选项中加入 checklist 即可,如:

var simditor = new Simditor({
  textarea: '#textarea',
  toolbar: ['checklist', 'strikethrough', 'ol', 'ul']
});