mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-29 11:44:21 +08:00 
			
		
		
		
	toggle zen mode in the global menu
This commit is contained in:
		
							parent
							
								
									3c4ec7fe1a
								
							
						
					
					
						commit
						667471e7bb
					
				| @ -108,7 +108,7 @@ function registerEntrypoints() { | ||||
|         $("#container").toggleClass("zen-mode"); | ||||
|     }; | ||||
| 
 | ||||
|     utils.bindGlobalShortcut('alt+m', toggleZenMode); | ||||
|     $("#toggle-zen-mode-button").on('click', toggleZenMode); | ||||
|     setActionHandler("ToggleZenMode", toggleZenMode); | ||||
| 
 | ||||
|     setActionHandler("InsertDateTime", () => { | ||||
|  | ||||
| @ -78,7 +78,13 @@ | ||||
|                     <a class="dropdown-item" id="reload-frontend-button" title="Reload can help with some visual glitches without restarting the whole app."> | ||||
|                         <span class="bx bx-empty"></span> | ||||
|                         Reload frontend | ||||
|                         <kbd>CTRL-R</kbd> | ||||
|                         <kbd>CTRL+R</kbd> | ||||
|                     </a> | ||||
| 
 | ||||
|                     <a class="dropdown-item" id="toggle-zen-mode-button"> | ||||
|                         <span class="bx bx-empty"></span> | ||||
|                         Toggle Zen mode | ||||
|                         <kbd>ALT+M</kbd> | ||||
|                     </a> | ||||
| 
 | ||||
|                     <a class="dropdown-item" id="toggle-fullscreen-button"> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam