|
|
@@ -32,20 +32,16 @@ export default { |
|
|
|
[{ 'font': [] }], |
|
|
|
[{ 'size': ['small', false, 'large', 'huge'] }], // custom dropdown |
|
|
|
['bold', 'italic', 'underline', 'strike'], // toggled buttons |
|
|
|
[{ 'color': [] }, { 'background': [] }], // dropdown with defaults from theme |
|
|
|
['blockquote', 'code-block'], |
|
|
|
|
|
|
|
[{ 'header': 1 }, { 'header': 2 }], // custom button values |
|
|
|
[{ 'list': 'ordered'}, { 'list': 'bullet' }], |
|
|
|
[{ 'script': 'sub'}, { 'script': 'super' }], // superscript/subscript |
|
|
|
// [{ 'script': 'sub'}, { 'script': 'super' }], // superscript/subscript |
|
|
|
[{ 'indent': '-1'}, { 'indent': '+1' }], // outdent/indent |
|
|
|
[{ 'direction': 'rtl' }], // text direction |
|
|
|
|
|
|
|
[{ 'header': [1, 2, 3, 4, 5, 6, false] }], |
|
|
|
|
|
|
|
[{ 'color': [] }, { 'background': [] }], // dropdown with defaults from theme |
|
|
|
// [{ 'header': [1, 2, 3, 4, 5, 6, false] }], |
|
|
|
[{ 'align': [] }], |
|
|
|
|
|
|
|
['clean'] // remove formatting button |
|
|
|
// ['clean'] // remove formatting button |
|
|
|
]; |
|
|
|
// const editor = new Quill(this.$refs['quill-editor'], this.defaultConfig) |
|
|
|
const editor = new Quill(this.$refs['quill-editor'], { |
|
|
|