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

Vanessaa05faf6fc1c8
diff --git a/app/src/layout/Wnd.ts b/app/src/layout/Wnd.ts
index 95879a2545..180c737f9e 100644
--- a/app/src/layout/Wnd.ts
+++ b/app/src/layout/Wnd.ts
@@ -563,7 +563,7 @@ export class Wnd {
resize,
});
}
- if (window.siyuan.editorIsFullscreen) {
+ if (window.siyuan.editorIsFullscreen && !currentTab.model.editor.protyle.element.className.includes("fullscreen")) {
fullscreen(currentTab.model.editor.protyle.element);
setPadding(currentTab.model.editor.protyle);
}