An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: https://ld246.com/article/1670477204246
Vanessad04273eb198e
diff --git a/app/src/util/globalShortcut.ts b/app/src/util/globalShortcut.tsindex 8036d70ffc..451f90c499 100644--- a/app/src/util/globalShortcut.ts+++ b/app/src/util/globalShortcut.ts@@ -1226,8 +1226,14 @@ const panelTreeKeydown = (event: KeyboardEvent) => {while (nextElement) {if (nextElement.nextElementSibling) {if (nextElement.nextElementSibling.tagName === "UL") {- nextElement = nextElement.nextElementSibling.firstElementChild;- } else if (nextElement.nextElementSibling.classList.contains("protyle")) {+ if (nextElement.nextElementSibling.classList.contains("fn__none")) { // 遇到折叠内容+ if (nextElement.nextElementSibling.nextElementSibling) {+ nextElement = nextElement.nextElementSibling.nextElementSibling+ }+ } else {+ nextElement = nextElement.nextElementSibling.firstElementChild;+ }+ } else if (nextElement.nextElementSibling.classList.contains("protyle")) { // backlinkif (nextElement.nextElementSibling.nextElementSibling) {nextElement = nextElement.nextElementSibling.nextElementSibling;}@@ -1265,6 +1271,10 @@ const panelTreeKeydown = (event: KeyboardEvent) => {if (previousElement.previousElementSibling.previousElementSibling) {previousElement = previousElement.previousElementSibling.previousElementSibling;}+ } else if (previousElement.previousElementSibling.tagName === "UL" && previousElement.previousElementSibling.classList.contains("fn__none")) { // 遇到折叠内容+ if (previousElement.previousElementSibling.previousElementSibling) {+ previousElement = previousElement.previousElementSibling.previousElementSibling;+ }} else {const liElements = previousElement.previousElementSibling.querySelectorAll(".b3-list-item");previousElement = liElements[liElements.length - 1];