Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:iphone: fix https://github.com/siyuan-note/siyuan/issues/8864

Vanessa7e1d5c0a26aa
diff --git a/app/src/protyle/wysiwyg/index.ts b/app/src/protyle/wysiwyg/index.ts
index 4a201a05c0..4dd7fc68ee 100644
--- a/app/src/protyle/wysiwyg/index.ts
+++ b/app/src/protyle/wysiwyg/index.ts
@@ -2019,6 +2019,7 @@ export class WYSIWYG {
} else if (lastEditElement) {
range.selectNodeContents(lastEditElement);
range.collapse(false);
+ focusByRange(range);
}
}
}