Skip to content

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

:sparkles: fix https://github.com/siyuan-note/siyuan/issues/6536

Vanessa26881d906e4c
diff --git a/app/src/protyle/ui/initUI.ts b/app/src/protyle/ui/initUI.ts
index 25fb8aa30a..a648e93473 100644
--- a/app/src/protyle/ui/initUI.ts
+++ b/app/src/protyle/ui/initUI.ts
@@ -28,7 +28,7 @@ export const initUI = (protyle: IProtyle) => {
if (protyle.upload) {
protyle.element.appendChild(protyle.upload.element);
}
- if (protyle.options.render) {
+ if (protyle.options.render.scroll) {
protyle.element.appendChild(protyle.scroll.element.parentElement);
}
if (protyle.gutter) {