🐛 Resolved a selection conflict issue during IME input method combination input

This commit is contained in:
2025-12-23 00:37:10 +08:00
parent c47f7de5b8
commit 1c14092068
3 changed files with 49 additions and 1 deletions

View File

@@ -15,7 +15,7 @@ export function createCursorPositionExtension(documentId: number) {
constructor(private view: EditorView) {
const {debouncedFn, flush} = createDebounce(
() => this.saveCursorPosition(),
{delay: 400}
{delay: 1000}
);
this.debouncedSave = {fn: debouncedFn, flush};