Skip to content

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

:art: https://github.com/siyuan-note/siyuan/issues/12884

Vanessa8b9d811c9103
diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts
index 8073b47020..952567d842 100644
--- a/app/src/plugin/API.ts
+++ b/app/src/plugin/API.ts
@@ -19,6 +19,7 @@ import {openMobileFileById} from "../mobile/editor";
import {lockScreen, exitSiYuan} from "../dialog/processSystem";
import {Model} from "../layout/Model";
import {getDockByType} from "../layout/tabUtil";
+import {getAllEditor} from "../layout/getAll";
let openTab;
let openWindow;
@@ -195,4 +196,5 @@ export const API = {
Dialog,
Menu,
Setting,
+ getAllEditor,
};