@@ -76,7 +76,11 @@
const quill = new Quill('#editor', {
theme: 'snow', // 指定使用的主题
modules: {
- toolbar: false
+ // toolbar: false
+ toolbar: [
+ [{'header': [1, 2, false]}, 'bold', 'italic', 'blockquote', 'code-block', 'link'],
+ [{'list': 'ordered'}, {'list': 'bullet'}, {'indent': '-1'}, {'indent': '+1'}, 'image', 'video'],
+ ]
}
});