Open notes with custom software

This commit is contained in:
SnnBcd xt
2023-05-16 11:57:28 +00:00
parent 412fd105c9
commit 9fc474504b
3 changed files with 86 additions and 1 deletions

View File

@@ -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();