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: https://github.com/siyuan-note/siyuan/issues/9419
Vanessa9ae8400b474e
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex 1ea5d30ffb..c6039be326 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -355,7 +355,7 @@ export const updateAVName = (protyle: IProtyle, blockElement: Element) => {id,data: blockElement.getAttribute("updated")}]);- nameElement.setAttribute("updated", newUpdated);+ blockElement.setAttribute("updated", newUpdated);nameElement.dataset.title = newData;blockElement.querySelector(".layout-tab-bar .item__text").textContent = newData;};diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.tsindex 2343448968..2676089a66 100644--- a/app/src/protyle/render/av/render.ts+++ b/app/src/protyle/render/av/render.ts@@ -252,7 +252,7 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {} else if (operation.action === "setAttrViewName") {Array.from(protyle.wysiwyg.element.querySelectorAll(`[data-av-id="${operation.id}"]`)).forEach((item: HTMLElement) => {const titleElement = item.querySelector(".av__title") as HTMLElement;- if (!titleElement || titleElement.textContent.trim() === operation.data) {+ if (!titleElement) {return;}titleElement.textContent = operation.data;