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/15669
Vanessaf3cc641005df
diff --git a/app/src/protyle/render/av/action.ts b/app/src/protyle/render/av/action.tsindex dbe1ef6afb..227693847a 100644--- a/app/src/protyle/render/av/action.ts+++ b/app/src/protyle/render/av/action.ts@@ -583,6 +583,7 @@ export const avContextmenu = (protyle: IProtyle, rowElement: HTMLElement, positiaction: "insertAttrViewBlock",avID,srcs,+ context: {ignoreTip: "true"},blockID: listItemElement.dataset.blockId,groupID: rowElement.parentElement.getAttribute("data-group-id")}, {diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.tsindex 1e9e3678e3..a33b411d17 100644--- a/app/src/protyle/render/av/render.ts+++ b/app/src/protyle/render/av/render.ts@@ -764,7 +764,7 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {// 更新属性面板renderAVAttribute(attrElement.parentElement, attrElement.dataset.nodeId, protyle);} else {- if (operation.action === "insertAttrViewBlock") {+ if (operation.action === "insertAttrViewBlock" && operation.context?.ignoreTip !== "true") {const groupQuery = operation.groupID ? `[data-group-id="${operation.groupID}"]` : "";if (item.getAttribute("data-av-type") === "gallery") {operation.srcs.forEach(srcItem => {diff --git a/app/src/types/index.d.ts b/app/src/types/index.d.tsindex d1b5d16c3c..f62cf75bbe 100644--- a/app/src/types/index.d.ts+++ b/app/src/types/index.d.ts@@ -531,6 +531,7 @@ interface ISiyuan {interface IOperation {action: TOperation, // move, delete 不需要传 dataid?: string,+ context?: IObject,blockID?: string,isTwoWay?: boolean, // 是否双向关联backRelationKeyID?: string, // 双向关联的目标关联列 ID