Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add plugin API openSetting #13761

Merged
merged 3 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
app/node_modules
app/stage/build
app/build
app/SiYuan-Kernel
app/src/types/dist
app/kernel*
ios
Expand Down
4 changes: 3 additions & 1 deletion app/src/plugin/API.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -199,5 +200,6 @@ export const API = {
Setting,
getAllEditor,
getAllModels,
platformUtils
platformUtils,
openSetting
};
Loading