mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 11:39:01 +01:00 
			
		
		
		
	chore(canvas): bring back more options
This commit is contained in:
		
							parent
							
								
									ddbd268a66
								
							
						
					
					
						commit
						5b98277f3c
					
				| @ -183,6 +183,23 @@ export default class ExcalidrawTypeWidget extends TypeWidget { | |||||||
|             theme: this.themeStyle, |             theme: this.themeStyle, | ||||||
|             onChange: () => this.onChangeHandler(), |             onChange: () => this.onChangeHandler(), | ||||||
|             viewModeEnabled: options.is("databaseReadonly"), |             viewModeEnabled: options.is("databaseReadonly"), | ||||||
|  |             zenModeEnabled: false, | ||||||
|  |             gridModeEnabled: false, | ||||||
|  |             isCollaborating: false, | ||||||
|  |             detectScroll: false, | ||||||
|  |             handleKeyboardGlobally: false, | ||||||
|  |             autoFocus: false, | ||||||
|  |             UIOptions: { | ||||||
|  |                 canvasActions: { | ||||||
|  |                     saveToActiveFile: false, | ||||||
|  |                     export: false | ||||||
|  |                 } | ||||||
|  |             }, | ||||||
|  |             onLibraryChange: () => { | ||||||
|  |                 this.libraryChanged = true; | ||||||
|  | 
 | ||||||
|  |                 this.saveData(); | ||||||
|  |             }, | ||||||
|         }); |         }); | ||||||
|         this.canvasInstance.renderCanvas(renderElement); |         this.canvasInstance.renderCanvas(renderElement); | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran