An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: fix https://github.com/siyuan-note/siyuan/issues/5468#issuecomment-1205468383
Vanessa3f123505b3dd
diff --git a/app/src/protyle/ui/initUI.ts b/app/src/protyle/ui/initUI.tsindex 43d7c81f24..6e19c7c931 100644--- a/app/src/protyle/ui/initUI.ts+++ b/app/src/protyle/ui/initUI.ts@@ -7,6 +7,11 @@ import {Constants} from "../../constants";export const initUI = (protyle: IProtyle) => {protyle.contentElement = document.createElement("div");protyle.contentElement.className = "protyle-content";+ if (window.siyuan.config.editor.fullWidth) {+ protyle.contentElement.setAttribute("data-fullwidth", "true");+ } else {+ protyle.contentElement.removeAttribute("data-fullwidth");+ }if (protyle.options.render.background) {protyle.contentElement.appendChild(protyle.background.element);}