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/15128
Vanessa2333dd86dcf8
diff --git a/app/src/protyle/util/insertHTML.ts b/app/src/protyle/util/insertHTML.tsindex c9843a06eb..a4580db97b 100644--- a/app/src/protyle/util/insertHTML.ts+++ b/app/src/protyle/util/insertHTML.ts@@ -188,7 +188,8 @@ const processAV = (range: Range, html: string, protyle: IProtyle, blockElement:break;}const cellValue = textJSON[i][j];- const operations = await updateCellsValue(protyle, blockElement as HTMLElement, cellValue, [cellElement], columns, tempElement.content.children[i].outerHTML, true);+ const operations = await updateCellsValue(protyle, blockElement as HTMLElement, cellValue, [cellElement], columns,+ cellElement.getAttribute("data-dtype") === "mAsset" ? (tempElement.content.children[i * (j + 1) + j]?.outerHTML || "") : html, true);if (operations.doOperations.length > 0) {doOperations.push(...operations.doOperations);undoOperations.push(...operations.undoOperations);