An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
shift 向上选中三行后,最后的光标会乱跳
Vanessaf22a28a73eca
diff --git a/app/src/protyle/wysiwyg/commonHotkey.ts b/app/src/protyle/wysiwyg/commonHotkey.tsindex d77fdd240a..f009cb9aa7 100644--- a/app/src/protyle/wysiwyg/commonHotkey.ts+++ b/app/src/protyle/wysiwyg/commonHotkey.ts@@ -104,10 +104,7 @@ export const upSelect = (options: {// 当第一行太长自然换行的情况options.range.getBoundingClientRect().top - nodeEditableElement.getBoundingClientRect().top - parseInt(getComputedStyle(nodeEditableElement).paddingTop) < 14) {setFirstNodeRange(nodeEditableElement, options.range);- if (!isMac()) {- // windows 中 shift 向上选中三行后,最后的光标会乱跳- options.event.preventDefault();- }+ options.event.preventDefault();}return;}