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/5735 copy
Vanessac71dba340157
diff --git a/app/src/util/history.ts b/app/src/util/history.tsindex 561680ba37..0f9983c411 100644--- a/app/src/util/history.ts+++ b/app/src/util/history.ts@@ -78,7 +78,7 @@ const renderDoc = (element: HTMLElement, currentPage: number) => {fetchPost("/api/history/getDocHistoryContent", {historyPath: item.items[0].path}, (contentResponse) => {- onGet(contentResponse, historyEditor.protyle, [Constants.CB_GET_HISTORY]);+ onGet(contentResponse, historyEditor.protyle, [Constants.CB_GET_HISTORY, Constants.CB_GET_HTML]);});}}@@ -404,7 +404,7 @@ export const openHistory = () => {fetchPost("/api/history/getDocHistoryContent", {historyPath: dataPath}, (response) => {- onGet(response, historyEditor.protyle, [Constants.CB_GET_HISTORY]);+ onGet(response, historyEditor.protyle, [Constants.CB_GET_HISTORY, Constants.CB_GET_HTML]);});}let currentItem = hasClosestByClassName(target, "b3-list") as HTMLElement;