mirror of
				https://github.com/usememos/memos.git
				synced 2025-10-23 12:47:28 +08:00 
			
		
		
		
	chore: fix upload image insert text
This commit is contained in:
		
							parent
							
								
									2e5b120986
								
							
						
					
					
						commit
						069c5d6a35
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -250,7 +250,7 @@ const MemoEditor: React.FC<Props> = () => { | |||
|       const file = inputEl.files[0]; | ||||
|       const url = await handleUploadFile(file); | ||||
|       if (url) { | ||||
|         editorRef.current?.insertText(url + " "); | ||||
|         editorRef.current?.insertText(url); | ||||
|       } | ||||
|     }; | ||||
|     inputEl.click(); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue