Called just before the editor context menu is about to open. Allows adding items to it.
desktop
Called when an alarm associated with a to-do is triggered.
Called when the content of the current note changes.
Called when the content of a note changes.
Called when a new note or notes are selected.
Called when a resource is changed. Currently this handled will not be called when a resource is added or deleted.
Called when the synchronisation process has finished.
Called when the synchronisation process is starting.
Gets the currently selected folder. In some cases, for example during search or when viewing a tag, no folder is actually selected in the user interface. In that case, that function would return the last selected folder.
Gets the currently selected note. Will be null
if no note is selected.
Gets the IDs of the selected notes (can be zero, one, or many). Use the data API to retrieve information about these notes.
The workspace service provides access to all the parts of Joplin that are being worked on - i.e. the currently selected notes or notebooks as well as various related events, such as when a new note is selected, or when the note content changes.
View the demo plugin