Skip to content

Commit f2bf171

Browse files
committed
fix: 🐛 cursor reset to index 0 while typing
1 parent 9b9d078 commit f2bf171

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

packages/vue-quill/src/components/QuillEditor.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -302,13 +302,13 @@ export const QuillEditor = defineComponent({
302302
})
303303
}
304304

305-
watch(
306-
() => props.content,
307-
(newContent, oldContents) => {
308-
if (!quill || !newContent || newContent === oldContents) return
309-
setContents(newContent)
310-
}
311-
)
305+
// watch(
306+
// () => props.content,
307+
// (newContent, oldContents) => {
308+
// if (!quill || !newContent || newContent === oldContents) return
309+
// setContents(newContent)
310+
// }
311+
// )
312312

313313
watch(
314314
() => props.enable,

0 commit comments

Comments
 (0)