Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/16304

Vanessa1ccce5e01390
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index a980d9a779..de0c0f4adb 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -2492,6 +2492,7 @@ export const setFold = (protyle: IProtyle, nodeElement: Element, isOpen?: boolea
}
}
clearSelect(["img", "av"], nodeElement);
+ scrollCenter(protyle, nodeElement);
}
const id = nodeElement.getAttribute("data-node-id");
const doOperations: IOperation[] = [];