Skip to content

Commit c7821a4

Browse files
committed
fix: unexpected token
1 parent 69690c6 commit c7821a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/QuillEditor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export const QuillEditor = defineComponent({
110110
if (props.theme !== "bubble") editor.value.classList.remove("ql-bubble");
111111
if (props.theme !== "snow") editor.value.classList.remove("ql-snow");
112112
// Fix clicking the quill toolbar is detected as blur event
113-
quill.getModule("toolbar")?.container.addEventListener("mousedown", (e: MouseEvent) => {
113+
quill.getModule("toolbar").container.addEventListener("mousedown", (e: MouseEvent) => {
114114
e.preventDefault();
115115
});
116116
// Emit ready event

0 commit comments

Comments
 (0)