mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 05:28:59 +01:00 
			
		
		
		
	new card for tab operation in built-in help
This commit is contained in:
		
							parent
							
								
									3fe9218ea8
								
							
						
					
					
						commit
						ced02b42b5
					
				@ -122,7 +122,7 @@ function tabContextMenu(e) {
 | 
			
		||||
    contextMenuService.initContextMenu(e, {
 | 
			
		||||
        getContextMenuItems: () => {
 | 
			
		||||
            return [
 | 
			
		||||
                {title: "Open note in new tab", cmd: "openNoteInNewTab", uiIcon: "empty"}
 | 
			
		||||
                {title: "Open note in new tab", cmd: "openNoteInNewTab", uiIcon: "arrow-up-right"}
 | 
			
		||||
            ];
 | 
			
		||||
        },
 | 
			
		||||
        selectContextMenuItem: (e, cmd) => {
 | 
			
		||||
 | 
			
		||||
@ -29,6 +29,26 @@
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
 | 
			
		||||
                    <div class="card">
 | 
			
		||||
                        <div class="card-body">
 | 
			
		||||
                            <h5 class="card-title">Tab shortcuts</h5>
 | 
			
		||||
 | 
			
		||||
                            <p class="card-text">
 | 
			
		||||
                            <ul>
 | 
			
		||||
                                <li><kbd>CTRL+click</kbd> (or middle mouse click) on note link opens note in a new tab</li>
 | 
			
		||||
                            </ul>
 | 
			
		||||
 | 
			
		||||
                            Only in desktop (electron build):
 | 
			
		||||
                            <ul>
 | 
			
		||||
                                <li><kbd>CTRL+T</kbd> opens empty tab</li>
 | 
			
		||||
                                <li><kbd>CTRL+W</kbd> closes active tab</li>
 | 
			
		||||
                                <li><kbd>CTRL+Tab</kbd> activates next tab</li>
 | 
			
		||||
                                <li><kbd>CTRL+Shift+Tab</kbd> activates previous tab</li>
 | 
			
		||||
                            </ul>
 | 
			
		||||
                            </p>
 | 
			
		||||
                        </div>
 | 
			
		||||
                    </div>
 | 
			
		||||
 | 
			
		||||
                    <div class="card">
 | 
			
		||||
                        <div class="card-body">
 | 
			
		||||
                            <h5 class="card-title">Creating notes</h5>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user