2021-08-10 12:34:49 +02:00
|
|
|
import Plugin from '../Plugin';
|
|
|
|
export default class JoplinWindow {
|
|
|
|
private store_;
|
2024-11-17 18:38:07 +02:00
|
|
|
constructor(_plugin: Plugin, store: any);
|
2021-08-10 12:34:49 +02:00
|
|
|
/**
|
|
|
|
* 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.
|
2024-08-08 21:02:53 +02:00
|
|
|
*
|
|
|
|
* <span class="platform-desktop">desktop</span>
|
2021-08-10 12:34:49 +02:00
|
|
|
*/
|
|
|
|
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.
|
2024-08-08 21:02:53 +02:00
|
|
|
*
|
|
|
|
* <span class="platform-desktop">desktop</span>
|
2021-08-10 12:34:49 +02:00
|
|
|
*/
|
|
|
|
loadNoteCssFile(filePath: string): Promise<void>;
|
|
|
|
}
|