mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	hiding useless/misleading buttons from excalidraw
This commit is contained in:
		
							parent
							
								
									a16555bbff
								
							
						
					
					
						commit
						584b176643
					
				| @ -20,10 +20,13 @@ const TPL = ` | ||||
|             display: block; | ||||
|         } | ||||
| 
 | ||||
| 
 | ||||
|         .excalidraw-wrapper { | ||||
|             height: 100%; | ||||
|         } | ||||
|          | ||||
|         .excalidraw button[data-testid="json-export-button"] { | ||||
|             display: none !important; | ||||
|         } | ||||
| 
 | ||||
|         :root[dir="ltr"] | ||||
|         .excalidraw | ||||
| @ -441,6 +444,10 @@ export default class ExcalidrawTypeWidget extends TypeWidget { | ||||
|                     handleKeyboardGlobally: false, | ||||
|                     autoFocus: false, | ||||
|                     onLinkOpen, | ||||
|                     UIOptions: { | ||||
|                         saveToActiveFile: false, | ||||
|                         saveAsImage: false | ||||
|                     } | ||||
|                 }) | ||||
|             ) | ||||
|         ); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam