一些检查失败了
automerge / automerge (push) Has been cancelled
react-native-android-build-apk / AssembleRelease (push) Has been cancelled
Build macOS M1 / Main (push) Has been cancelled
Joplin Continuous Integration / Main (macos-15-intel) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / Main (ubuntu-22.04-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-11-vs2026-arm) (push) Has been cancelled
Joplin Continuous Integration / Main (windows-2025) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04) (push) Has been cancelled
Joplin Continuous Integration / ServerDockerImage (ubuntu-22.04-arm) (push) Has been cancelled
Joplin UI tests / Main (ubuntu-22.04) (push) Has been cancelled
Joplin UI tests / Main (windows-2025) (push) Has been cancelled
Joplin UI tests / Mobile (push) Has been cancelled
Close stale issues / ProcessStaleIssues (push) Has been cancelled
31 行
1.2 KiB
TypeScript
31 行
1.2 KiB
TypeScript
import Plugin from '../Plugin';
|
|
type DispatchStore = {
|
|
dispatch: (action: {
|
|
type: string;
|
|
[k: string]: unknown;
|
|
}) => void;
|
|
};
|
|
export default class JoplinWindow {
|
|
private store_;
|
|
constructor(_plugin: Plugin, store: DispatchStore);
|
|
/**
|
|
* Loads a chrome CSS file. It will apply to the window UI elements, except
|
|
* for the note viewer. It is the same as the "Custom stylesheet for
|
|
* Joplin-wide app styles" setting. See the [Load CSS Demo](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/load_css)
|
|
* for an example.
|
|
*
|
|
* <span class="platform-desktop">desktop</span>
|
|
*/
|
|
loadChromeCssFile(filePath: string): Promise<void>;
|
|
/**
|
|
* Loads a note CSS file. It will apply to the note viewer, as well as any
|
|
* exported or printed note. It is the same as the "Custom stylesheet for
|
|
* rendered Markdown" setting. See the [Load CSS Demo](https://github.com/laurent22/joplin/tree/dev/packages/app-cli/tests/support/plugins/load_css)
|
|
* for an example.
|
|
*
|
|
* <span class="platform-desktop">desktop</span>
|
|
*/
|
|
loadNoteCssFile(filePath: string): Promise<void>;
|
|
}
|
|
export {};
|