You've already forked joplin
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:
@ -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;
|
||||
|
Reference in New Issue
Block a user