编辑器增加源代码显示

This commit is contained in:
2016-09-17 18:16:08 +08:00
parent 4ee9156229
commit a4011127bd
5 changed files with 1067 additions and 1 deletions

View File

@@ -1894,7 +1894,7 @@ Toolbar = (function(superClass) {
return;
}
if (!$.isArray(this.opts.toolbar)) {
this.opts.toolbar = ['bold', 'italic', 'underline', 'strikethrough', '|', 'ol', 'ul', 'blockquote', 'code', '|', 'link', 'image', '|', 'indent', 'outdent'];
this.opts.toolbar = ['html', '|', 'bold', 'italic', 'underline', 'strikethrough', '|', 'ol', 'ul', 'blockquote', 'code', '|', 'link', 'image', '|', 'indent', 'outdent'];
}
this._render();
this.list.on('click', function(e) {