mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	ctrl-alt-h now toggles visibility of everything except the main content (probably controversially also title)
This commit is contained in:
		| @@ -4,4 +4,13 @@ $(function() { | ||||
|         $('div.note-editable').height($(window).height() - $('div.note-editable').offset().top); | ||||
|     }); | ||||
|     $(window).resize(); | ||||
| }); | ||||
|  | ||||
| jQuery.hotkeys.options.filterInputAcceptingElements = true; | ||||
| jQuery.hotkeys.options.filterContentEditable = true; | ||||
|  | ||||
| $(document).bind('keypress', 'alt+ctrl+h', function() { | ||||
|     const toggle = $(".hide-toggle"); | ||||
|  | ||||
|     toggle.css('visibility', toggle.css('visibility') === 'hidden' ? 'visible' : 'hidden'); | ||||
| }); | ||||
		Reference in New Issue
	
	Block a user