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/8690
Vanessaae881f0e4b28
diff --git a/app/src/protyle/render/av/addCol.ts b/app/src/protyle/render/av/addCol.tsindex 82f5991a55..39401283a6 100644--- a/app/src/protyle/render/av/addCol.ts+++ b/app/src/protyle/render/av/addCol.ts@@ -8,12 +8,11 @@ export const addCol = (protyle: IProtyle, blockElement: HTMLElement) => {label: window.siyuan.languages.text,click() {const id = Lute.NewNodeID();- const type = "text";transaction(protyle, [{action: "addAttrViewCol",name: "Text",parentID: blockElement.getAttribute("data-av-id"),- type,+ type: "text",id}], [{action: "removeAttrViewCol",@@ -27,12 +26,11 @@ export const addCol = (protyle: IProtyle, blockElement: HTMLElement) => {label: window.siyuan.languages.number,click() {const id = Lute.NewNodeID();- const type = "text";transaction(protyle, [{action: "addAttrViewCol",- name: "Text",+ name: "Number",parentID: blockElement.getAttribute("data-av-id"),- type,+ type: "number",id}], [{action: "removeAttrViewCol",@@ -46,12 +44,11 @@ export const addCol = (protyle: IProtyle, blockElement: HTMLElement) => {label: window.siyuan.languages.select,click() {const id = Lute.NewNodeID();- const type = "text";transaction(protyle, [{action: "addAttrViewCol",name: "Text",parentID: blockElement.getAttribute("data-av-id"),- type,+ type: "select",id}], [{action: "removeAttrViewCol",@@ -65,12 +62,11 @@ export const addCol = (protyle: IProtyle, blockElement: HTMLElement) => {label: window.siyuan.languages.multiSelect,click() {const id = Lute.NewNodeID();- const type = "text";transaction(protyle, [{action: "addAttrViewCol",name: "Text",parentID: blockElement.getAttribute("data-av-id"),- type,+ type: "mSelect",id}], [{action: "removeAttrViewCol",@@ -84,12 +80,11 @@ export const addCol = (protyle: IProtyle, blockElement: HTMLElement) => {label: window.siyuan.languages.date,click() {const id = Lute.NewNodeID();- const type = "text";transaction(protyle, [{action: "addAttrViewCol",name: "Text",parentID: blockElement.getAttribute("data-av-id"),- type,+ type: "date",id}], [{action: "removeAttrViewCol",