Open
Description
Describe the bug
import { QuillWatch } from "quill-image-super-solution-module";
modules: {
ImageExtend: {...},
toobar:{
container: [
["bold", "italic", "underline", "strike"],
["blockquote", "code-block"],
[{ header: 1 }, { header: 2 }],
[{ list: "ordered" }, { list: "bullet" }],
[{ script: "sub" }, { script: "super" }],
[{ indent: "-1" }, { indent: "+1" }],
// [{ direction: "rtl" }],
[{ size: ["small", false, "large", "huge"] }],
[{ header: [1, 2, 3, 4, 5, 6, false] }],
[{ font: [] }],
[{ color: [] }, { background: [] }],
[{ align: [] }],
["clean"],
["link", "image"]
], //, "video"
handlers: {
image: function(val) {
console.log(val);
QuillWatch.emit(this.quill.id); //!!!
}
}}
}
刷新报错Unexpected token 'export'
Metadata
Metadata
Assignees
Labels
No labels