From e7c90f4709f0416f008f5c09aec4f1386bf5f1c6 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Wed, 20 Aug 2025 12:08:47 +0800 Subject: [PATCH] :art: https://github.com/siyuan-note/siyuan/issues/15415 --- app/src/plugin/API.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/plugin/API.ts b/app/src/plugin/API.ts index 36ff5e66b..f17eb9801 100644 --- a/app/src/plugin/API.ts +++ b/app/src/plugin/API.ts @@ -19,7 +19,7 @@ import {Protyle} from "../protyle"; import {openMobileFileById} from "../mobile/editor"; import {lockScreen, exitSiYuan} from "../dialog/processSystem"; import {Model} from "../layout/Model"; -import {getDockByType} from "../layout/tabUtil"; +import {getActiveTab, getDockByType} from "../layout/tabUtil"; /// #if !MOBILE import {getAllModels} from "../layout/getAll"; /// #endif @@ -226,6 +226,7 @@ export const API = { getModelByDockType, openTab, openWindow, + getActiveTab, openMobileFileById, lockScreen, exitSiYuan,