Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: type https://github.com/siyuan-note/siyuan/issues/7536

Vanessa58335f6bb785
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.ts
index 58b8fa579e..f24d4878eb 100644
--- a/app/src/protyle/render/av/cell.ts
+++ b/app/src/protyle/render/av/cell.ts
@@ -100,13 +100,13 @@ export const showHeaderCellMenu = (protyle: IProtyle, blockElement: HTMLElement,
id: cellElement.getAttribute("data-id"),
parentID: blockElement.getAttribute("data-av-id"),
name: newValue,
- type: cellElement.getAttribute("data-dtype") as TAVCol,
+ type,
}], [{
action: "updateAttrViewCol",
id: cellElement.getAttribute("data-id"),
parentID: blockElement.getAttribute("data-av-id"),
name: cellElement.textContent.trim(),
- type: cellElement.getAttribute("data-dtype") as TAVCol,
+ type,
}]);
});
menu.addItem({