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/10058
Vanessabbff321019d1
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.tsindex 3f6eadc903..5e39c93ce8 100644--- a/app/src/menus/protyle.ts+++ b/app/src/menus/protyle.ts@@ -840,7 +840,12 @@ export const zoomOut = (options: {while (showElement.getBoundingClientRect().height === 0) {showElement = showElement.parentElement;}- showElement = getFirstBlock(showElement);+ if (showElement.classList.contains("protyle-wysiwyg")) {+ // 闪卡退出聚焦元素被隐藏 https://github.com/siyuan-note/siyuan/issues/10058#issuecomment-2029524211+ showElement = focusElement.previousElementSibling || focusElement.nextElementSibling;+ } else {+ showElement = getFirstBlock(showElement);+ }focusBlock(showElement);showElement.scrollIntoView();} else if (options.id === options.protyle.block.rootID) { // 聚焦返回后,该块是动态加载的,但是没加载出来