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/15670

Vanessa8889235bea42
diff --git a/app/src/menus/protyle.ts b/app/src/menus/protyle.ts
index 60e4714914..f73120965e 100644
--- a/app/src/menus/protyle.ts
+++ b/app/src/menus/protyle.ts
@@ -1020,7 +1020,7 @@ export const zoomOut = (options: {
}
focusBlock(showElement);
const resizeObserver = new ResizeObserver(() => {
- showElement.scrollIntoView();
+ focusElement.scrollIntoView();
});
resizeObserver.observe(options.protyle.wysiwyg.element);
setTimeout(() => {