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/15557
Vanessa5abc9c31b0f3
diff --git a/app/src/protyle/render/av/render.ts b/app/src/protyle/render/av/render.tsindex b6c4976716..1c3ff5f4cf 100644--- a/app/src/protyle/render/av/render.ts+++ b/app/src/protyle/render/av/render.ts@@ -728,7 +728,13 @@ export const refreshAV = (protyle: IProtyle, operation: IOperation) => {});}if (operation.srcs.length === 1) {- const popCellElement = item.querySelector(`.av__body${groupQuery} [data-id="${operation.srcs[0].itemID}"] .av__cell[data-dtype="block"]`) as HTMLElement;+ let popCellElement = item.querySelector(`.av__body${groupQuery} [data-id="${operation.srcs[0].itemID}"] .av__cell[data-dtype="block"]`) as HTMLElement;+ if (!popCellElement) {+ const popCellElements = item.querySelectorAll(`.av__body [data-id="${operation.srcs[0].itemID}"] .av__cell[data-dtype="block"]`);+ if (popCellElements.length === 1) {+ popCellElement = popCellElements[0] as HTMLElement;+ }+ }if (popCellElement && popCellElement.getAttribute("data-detached") === "true") {popTextCell(protyle, [popCellElement], "block");}