mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 19:36:12 +01:00
Open notes with custom software
This commit is contained in:
@@ -54,6 +54,15 @@ export default class RootCommandExecutor extends Component {
|
||||
openService.openNoteExternally(noteId, mime);
|
||||
}
|
||||
}
|
||||
|
||||
openNoteCustomCommand() {
|
||||
const noteId = appContext.tabManager.getActiveContextNoteId();
|
||||
const mime = appContext.tabManager.getActiveContextNoteMime()
|
||||
|
||||
if (noteId) {
|
||||
openService.openNoteCustom(noteId, mime);
|
||||
}
|
||||
}
|
||||
|
||||
enterProtectedSessionCommand() {
|
||||
protectedSessionService.enterProtectedSession();
|
||||
|
||||
Reference in New Issue
Block a user