You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-13 00:10:37 +02:00
Doc: Mark several desktop-only plugin API features as "desktop-only" (#10208)
This commit is contained in:
@ -24,6 +24,8 @@ export default class JoplinWindow {
|
||||
* 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>
|
||||
*/
|
||||
public async loadChromeCssFile(filePath: string) {
|
||||
await this.implementation_.injectCustomStyles(`pluginStyles_${this.plugin_.id}`, filePath);
|
||||
@ -34,6 +36,8 @@ export default class JoplinWindow {
|
||||
* 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>
|
||||
*/
|
||||
public async loadNoteCssFile(filePath: string) {
|
||||
const cssString = await shim.fsDriver().readFile(filePath, 'utf8');
|
||||
|
Reference in New Issue
Block a user