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/16638
Vanessa74195b70eb7b
diff --git a/app/src/protyle/render/av/relation.ts b/app/src/protyle/render/av/relation.tsindex d3108ac937..2f247e7161 100644--- a/app/src/protyle/render/av/relation.ts+++ b/app/src/protyle/render/av/relation.ts@@ -515,6 +515,7 @@ export const setRelationCell = async (protyle: IProtyle, nodeElement: HTMLElementext: Lute.EscapeHTMLStr(target.querySelector(".b3-menu__label").textContent),className: target.className});+ updateCellsValue(protyle, nodeElement, newValue, cellElements);} else if (rowId) {newValue.blockIDs.push(rowId);newValue.contents.push({@@ -569,7 +570,6 @@ draggable="true">${genSelectItemHTML({id: blockID,data: dayjs().format("YYYYMMDDHHmmss"),}];- transaction(protyle, doOperations.concat(updateOptions.doOperations));separatorElement.insertAdjacentHTML("beforebegin", `<button data-row-id="${rowId}" data-position="west" data-type="setRelationCell"class="${target.className} ariaLabel" draggable="true">${genSelectItemHTML({type: "selected",@@ -577,6 +577,7 @@ class="${target.className} ariaLabel" draggable="true">${genSelectItemHTML({isDetached: true,text: Lute.EscapeHTMLStr(content)})}</button>`);+ transaction(protyle, doOperations.concat(updateOptions.doOperations));}}updateCopyRelatedItems(menuElement);