mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	unneeded await
This commit is contained in:
		
							parent
							
								
									c95c5bb471
								
							
						
					
					
						commit
						22cea63863
					
				| @ -154,7 +154,7 @@ export default class EditableTextTypeWidget extends AbstractTextTypeWidget { | |||||||
|             } |             } | ||||||
|         }); |         }); | ||||||
| 
 | 
 | ||||||
|         await this.watchdog.setCreator(async (elementOrData, editorConfig) => { |         this.watchdog.setCreator(async (elementOrData, editorConfig) => { | ||||||
|             const editor = await BalloonEditor.create(elementOrData, editorConfig); |             const editor = await BalloonEditor.create(elementOrData, editorConfig); | ||||||
| 
 | 
 | ||||||
|             editor.model.document.on('change:data', () => this.spacedUpdate.scheduleUpdate()); |             editor.model.document.on('change:data', () => this.spacedUpdate.scheduleUpdate()); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 zadam
						zadam