mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08: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, | ||||
|             onChange: () => this.onChangeHandler(), | ||||
|             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); | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran