mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	feat(popup_editor): add shortcut in note tree
This commit is contained in:
		
							parent
							
								
									27738acefc
								
							
						
					
					
						commit
						f5bffc38f1
					
				| @ -244,9 +244,13 @@ export default class NoteTreeWidget extends NoteContextAwareWidget { | ||||
|                 const notePath = treeService.getNotePath(node); | ||||
| 
 | ||||
|                 if (notePath) { | ||||
|                     appContext.tabManager.openTabWithNoteWithHoisting(notePath, { | ||||
|                         activate: e.shiftKey ? true : false | ||||
|                     }); | ||||
|                     if (e.ctrlKey) { | ||||
|                         appContext.triggerCommand("openInPopup", { noteIdOrPath: notePath }); | ||||
|                     } else { | ||||
|                         appContext.tabManager.openTabWithNoteWithHoisting(notePath, { | ||||
|                             activate: e.shiftKey ? true : false | ||||
|                         }); | ||||
|                     } | ||||
|                 } | ||||
| 
 | ||||
|                 e.stopPropagation(); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran