Skip to content

Commit 5b1576f

Browse files
committed
perf: 🚀 vue-quill initial release
BREAKING CHANGE: revert back to version 1.0.0
1 parent 0ae06e0 commit 5b1576f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/QuillEditor.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import {
1919
} from "vue";
2020
import { toolbarOptions } from "./options";
2121

22-
// export
2322
export default defineComponent({
2423
name: "QuillEditor",
2524
props: {
@@ -158,7 +157,7 @@ export default defineComponent({
158157

159158
const isEditorFocus = ref<boolean>()
160159
const handleSelectionChange: SelectionChangeHandler = (range: RangeStatic, oldRange: RangeStatic, source: Sources) => {
161-
// Mark model as touched if editor lost focus
160+
// Set isEditorFocus if quill.hasFocus()
162161
isEditorFocus.value = quill?.hasFocus() ? true : false
163162
ctx.emit("selectionChange", { range, oldRange, source });
164163
};

0 commit comments

Comments
 (0)