mirror of
https://github.com/zadam/trilium.git
synced 2025-10-27 16:26:31 +01:00
global menu can open the user guide
This commit is contained in:
@@ -100,6 +100,10 @@ export default class RootCommandExecutor extends Component {
|
||||
await this.showAndHoistSubtree('_search');
|
||||
}
|
||||
|
||||
async showUserGuideCommand() {
|
||||
await this.showAndHoistSubtree('_userGuide');
|
||||
}
|
||||
|
||||
async showAndHoistSubtree(subtreeNoteId) {
|
||||
await appContext.tabManager.openContextWithNote(subtreeNoteId, true, null, subtreeNoteId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user