Skip to content

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

:bug: fix https://github.com/siyuan-note/siyuan/issues/5711

Vanessab8af2e058199
diff --git a/app/src/protyle/util/onGet.ts b/app/src/protyle/util/onGet.ts
index 4f171d139b..9fa2405d88 100644
--- a/app/src/protyle/util/onGet.ts
+++ b/app/src/protyle/util/onGet.ts
@@ -119,7 +119,7 @@ export const onGet = (data: IWebSocketData, protyle: IProtyle, action: string[]
unScroll: (scrollObj && scrollObj.focusId) ? true : false,
}, protyle);
- if (scrollObj) {
+ if (scrollObj && protyle.options.mode === "wysiwyg") {
restoreScroll(protyle, scrollObj);
}
const loadingElement = protyle.element.querySelector(".fn__loading");