An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/16416
Vanessa03fcd61b41a4
diff --git a/app/src/protyle/wysiwyg/keydown.ts b/app/src/protyle/wysiwyg/keydown.tsindex 06ab687bed..296ec53f86 100644--- a/app/src/protyle/wysiwyg/keydown.ts+++ b/app/src/protyle/wysiwyg/keydown.ts@@ -763,6 +763,16 @@ export const keydown = (protyle: IProtyle, editorElement: HTMLElement) => {}}}+ if (selectText === "" && event.key === "ArrowLeft" && position.start === 1 &&+ range.startContainer.textContent === Constants.ZWSP) {+ range.setStart(range.startContainer, 0);+ range.collapse(true);+ }+ if (selectText === "" && event.key === "ArrowRight" && position.start === 0 &&+ range.startContainer.textContent === Constants.ZWSP) {+ range.setStart(range.startContainer, 1);+ range.collapse(true);+ }return;}