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/9419
Vanessaf2075fafac55
diff --git a/app/src/protyle/render/av/cell.ts b/app/src/protyle/render/av/cell.tsindex c540853c7d..bd737e7a10 100644--- a/app/src/protyle/render/av/cell.ts+++ b/app/src/protyle/render/av/cell.ts@@ -7,6 +7,7 @@ import {isCtrl} from "../../util/compatibility";import {objEquals} from "../../../util/functions";import {fetchPost} from "../../../util/fetch";import {focusBlock} from "../../util/selection";+import * as dayjs from "dayjs";export const getCalcValue = (column: IAVColumn) => {if (!column.calc || !column.calc.result) {@@ -472,6 +473,7 @@ const updateCellValue = (protyle: IProtyle, type: TAVCol, cellElements: HTMLElemconst doOperations: IOperation[] = [];const undoOperations: IOperation[] = [];const avID = blockElement.getAttribute("data-av-id");+ const id = blockElement.getAttribute("data-node-id");if (type === "template") {const colId = cellElements[0].getAttribute("data-col-id");const textElement = avMaskElement.querySelector(".b3-text-field") as HTMLInputElement;@@ -523,6 +525,10 @@ const updateCellValue = (protyle: IProtyle, type: TAVCol, cellElements: HTMLElemdata: {[type]: inputValue}+ }, {+ action: "doUpdateUpdated",+ id,+ data: dayjs().format("YYYYMMDDHHmmss"),});undoOperations.push({action: "updateAttrViewCell",@@ -533,6 +539,10 @@ const updateCellValue = (protyle: IProtyle, type: TAVCol, cellElements: HTMLElemdata: {[type]: oldValue}+ }, {+ action: "doUpdateUpdated",+ id,+ data: blockElement.getAttribute("updated"),});updateAttrViewCellAnimation(item);});