mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-05-03 00:00:38 +08:00
Expose openSetting func to plugin APIs (#13761)
* _ * remove binary that accidently pushed * update gitignore
This commit is contained in:
parent
58c18f6413
commit
514e4da537
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,6 +12,7 @@
|
|||||||
app/node_modules
|
app/node_modules
|
||||||
app/stage/build
|
app/stage/build
|
||||||
app/build
|
app/build
|
||||||
|
app/SiYuan-Kernel
|
||||||
app/src/types/dist
|
app/src/types/dist
|
||||||
app/kernel*
|
app/kernel*
|
||||||
ios
|
ios
|
||||||
|
@ -21,6 +21,7 @@ import {lockScreen, exitSiYuan} from "../dialog/processSystem";
|
|||||||
import {Model} from "../layout/Model";
|
import {Model} from "../layout/Model";
|
||||||
import {getDockByType} from "../layout/tabUtil";
|
import {getDockByType} from "../layout/tabUtil";
|
||||||
import {getAllEditor, getAllModels} from "../layout/getAll";
|
import {getAllEditor, getAllModels} from "../layout/getAll";
|
||||||
|
import {openSetting} from "../config";
|
||||||
|
|
||||||
let openTab;
|
let openTab;
|
||||||
let openWindow;
|
let openWindow;
|
||||||
@ -199,5 +200,6 @@ export const API = {
|
|||||||
Setting,
|
Setting,
|
||||||
getAllEditor,
|
getAllEditor,
|
||||||
getAllModels,
|
getAllModels,
|
||||||
platformUtils
|
platformUtils,
|
||||||
|
openSetting
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user