讨论数量:
在构造函数加入如下:
$(document).ready(function () {
var editor = new Simditor({
textarea: $('#editor'),
toolbar: ['title', 'bold', 'italic', 'underline', 'strikethrough', 'fontScale', 'color', '|', 'ol', 'ul', 'blockquote', 'code', 'table', '|', 'link', 'image', 'hr', '|', 'indent', 'outdent', 'alignment'],
});
});
推荐文章: