An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
fix: Alt 点击列表项块标之后,折叠块标的方向需要根据列表项的折叠状态变化 (#13978)
Jeffrey Chenaa43b29a4f36
diff --git a/app/src/protyle/gutter/index.ts b/app/src/protyle/gutter/index.tsindex 6a6182c564..a8b54acef7 100644--- a/app/src/protyle/gutter/index.ts+++ b/app/src/protyle/gutter/index.ts@@ -204,6 +204,7 @@ export class Gutter {}}});+ buttonElement.parentElement.querySelector("[data-type='fold'] > svg")?.setAttribute("style", `width: 10px${hasFold ? ";transform:rotate(90deg)" : ""}`);const doOperations: IOperation[] = [];const undoOperations: IOperation[] = [];Array.from(foldElement.children).forEach((ulElement) => {@@ -352,6 +353,7 @@ export class Gutter {}}});+ buttonElement.parentElement.querySelector("[data-type='fold'] > svg")?.setAttribute("style", `width: 10px${hasFold ? ";transform:rotate(90deg)" : ""}`);const doOperations: IOperation[] = [];const undoOperations: IOperation[] = [];Array.from(foldElement.parentElement.children).find((listItemElement) => {