An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:bug: Refresh block update times after pasting https://github.com/siyuan-note/siyuan/issues/18478
Daniel867267405472
diff --git a/app/src/protyle/util/paste.ts b/app/src/protyle/util/paste.tsindex 278b1fe5db..fe0d227053 100644--- a/app/src/protyle/util/paste.ts+++ b/app/src/protyle/util/paste.ts@@ -721,6 +721,10 @@ export const paste = async (protyle: IProtyle, event: (ClipboardEvent | DragEven}clearBlockElement(e, isCutPaste); // 剪切粘贴保留引用角标});+ const updated = dayjs().format("YYYYMMDDHHmmss");+ pastedBlockElements.forEach((e) => {+ e.setAttribute("updated", updated);+ });}if (nodeElement.classList.contains("table")) {isBlock = false;