1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-07-16 00:14:34 +02:00

Doc: Mark several desktop-only plugin API features as "desktop-only" (#10208)

This commit is contained in:
Henry Heino
2024-03-26 04:36:15 -07:00
committed by GitHub
parent 27b86fbb00
commit c4aa18a63e
14 changed files with 44 additions and 5 deletions

View File

@ -141,13 +141,15 @@ export default class JoplinWorkspace {
/**
* Called just before the editor context menu is about to open. Allows
* adding items to it.
*
* <span class="platform-desktop">desktop</span>
*/
public filterEditorContextMenu(handler: FilterHandler<EditContextMenuFilterObject>) {
eventManager.filterOn('editorContextMenu', handler);
}
/**
* Gets the currently selected note
* Gets the currently selected note. Will be `null` if no note is selected.
*/
public async selectedNote(): Promise<any> {
const noteIds = this.store.getState().selectedNoteIds;