An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: fix https://github.com/siyuan-note/siyuan/issues/9640
Vanessa24f43654bdda
diff --git a/app/src/layout/dock/index.ts b/app/src/layout/dock/index.tsindex e597278db5..a6bd5a1594 100644--- a/app/src/layout/dock/index.ts+++ b/app/src/layout/dock/index.ts@@ -44,19 +44,19 @@ export class Dock {this.layout = window.siyuan.layout.layout.children[0].children[0] as Layout;this.resizeElement = this.layout.element.nextElementSibling as HTMLElement;this.layout.element.classList.add("layout__dockl");- this.layout.element.insertAdjacentHTML("beforeend", "<div class=\"layout__dockresize layout__dockresize--lr\"></div>");+ this.layout.element.insertAdjacentHTML("beforeend", '<div class="layout__dockresize layout__dockresize--lr"></div>');break;case "Right":this.layout = window.siyuan.layout.layout.children[0].children[2] as Layout;this.resizeElement = this.layout.element.previousElementSibling as HTMLElement;this.layout.element.classList.add("layout__dockr");- this.layout.element.insertAdjacentHTML("beforeend", "<div class=\"layout__dockresize layout__dockresize--lr\"></div>");+ this.layout.element.insertAdjacentHTML("beforeend", '<div class="layout__dockresize layout__dockresize--lr"></div>');break;case "Bottom":this.layout = window.siyuan.layout.layout.children[1] as Layout;this.resizeElement = this.layout.element.previousElementSibling as HTMLElement;this.layout.element.classList.add("layout__dockb");- this.layout.element.insertAdjacentHTML("beforeend", "<div class=\"layout__dockresize\"></div>");+ this.layout.element.insertAdjacentHTML("beforeend", '<div class="layout__dockresize"></div>');break;}this.app = options.app;@@ -189,6 +189,12 @@ export class Dock {documentSelf.onselectstart = null;documentSelf.onselect = null;this.setSize();+ this.element.querySelectorAll(".dock__item--active").forEach(item => {+ const customModel = this.data[item.getAttribute("data-type")]+ if (customModel && customModel instanceof Custom && customModel.resize) {+ customModel.resize();+ }+ });};});