mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	fix(canvas): unable to copy-paste
This commit is contained in:
		
							parent
							
								
									ce2961ebd6
								
							
						
					
					
						commit
						7bcbf29f21
					
				@ -541,10 +541,6 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
 | 
				
			|||||||
                    excalidrawAPI: (api: ExcalidrawImperativeAPI) => {
 | 
					                    excalidrawAPI: (api: ExcalidrawImperativeAPI) => {
 | 
				
			||||||
                        this.excalidrawApi = api;
 | 
					                        this.excalidrawApi = api;
 | 
				
			||||||
                    },
 | 
					                    },
 | 
				
			||||||
                    onPaste: (data: unknown, event: unknown) => {
 | 
					 | 
				
			||||||
                        console.log("Verbose: excalidraw internal paste. No trilium action implemented.", data, event);
 | 
					 | 
				
			||||||
                        return false;
 | 
					 | 
				
			||||||
                    },
 | 
					 | 
				
			||||||
                    onLibraryChange: () => {
 | 
					                    onLibraryChange: () => {
 | 
				
			||||||
                        this.libraryChanged = true;
 | 
					                        this.libraryChanged = true;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user