Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:lipstick: https://github.com/siyuan-note/siyuan/issues/8062

Vanessa4f6578f9f12a
diff --git a/app/src/history/history.ts b/app/src/history/history.ts
index 0eb5bbca8f..1a6980ba8d 100644
--- a/app/src/history/history.ts
+++ b/app/src/history/history.ts
@@ -318,7 +318,6 @@ export const openHistory = () => {
width: "80vw",
height: "80vh",
destroyCallback() {
- historyEditor.destroy();
historyEditor = undefined;
}
});
@@ -624,7 +623,6 @@ const bindEvent = (element: Element, dialog?: Dialog) => {
dialog.destroy();
} else {
closeModel();
- historyEditor.destroy();
historyEditor = undefined
}
break;