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

Vanessa33585ae17358
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.ts
index 18f8007420..4a070612c5 100644
--- a/app/src/protyle/render/av/action.ts
+++ b/app/src/protyle/render/av/action.ts
@@ -241,6 +241,7 @@ export const avClick = (protyle: IProtyle, event: MouseEvent & { target: HTMLEle
return true;
} else if (target.classList.contains("item") && target.parentElement.classList.contains("layout-tab-bar")) {
if (!target.classList.contains("item--focus")) {
+ blockElement.removeAttribute("data-render");
avRender(blockElement, protyle, undefined, target.dataset.id);
}
event.preventDefault();