Expose openSetting func to plugin APIs (#13761)

* _

* remove binary that accidently pushed

* update gitignore
This commit is contained in:
sommermorgentraum 2025-01-11 21:31:18 +08:00 committed by GitHub
parent 58c18f6413
commit 514e4da537
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@
app/node_modules
app/stage/build
app/build
app/SiYuan-Kernel
app/src/types/dist
app/kernel*
ios

View File

@ -21,6 +21,7 @@ import {lockScreen, exitSiYuan} from "../dialog/processSystem";
import {Model} from "../layout/Model";
import {getDockByType} from "../layout/tabUtil";
import {getAllEditor, getAllModels} from "../layout/getAll";
import {openSetting} from "../config";
let openTab;
let openWindow;
@ -199,5 +200,6 @@ export const API = {
Setting,
getAllEditor,
getAllModels,
platformUtils
platformUtils,
openSetting
};