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

Vanessaa79125c2364b
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.ts
index 6e5d13d247..786492d11d 100644
--- a/app/src/protyle/render/av/render.ts
+++ b/app/src/protyle/render/av/render.ts
@@ -485,6 +485,9 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {
});
addDragFill(item.querySelector(".av__cell--select"));
}
+ if (operation.action === "removeAttrViewView") {
+ item.setAttribute("data-av-type", operation.retData);
+ }
avRender(item, protyle, () => {
const attrElement = document.querySelector(`.b3-dialog--open[data-key="${Constants.DIALOG_ATTR}"] div[data-av-id="${avID}"]`) as HTMLElement;
if (attrElement) {