Focus textarea when text is inserted (#1320)
Place space after uploaded filenames
This commit is contained in:
		
							parent
							
								
									bf7306636e
								
							
						
					
					
						commit
						bb25c503bd
					
				
					 2 changed files with 6 additions and 1 deletions
				
			
		
							
								
								
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							|  | @ -28,3 +28,7 @@ neo4j/ | ||||||
| 
 | 
 | ||||||
| # Ignore Capistrano customizations | # Ignore Capistrano customizations | ||||||
| config/deploy/* | config/deploy/* | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | # Ignore IDE files | ||||||
|  | .vscode/ | ||||||
|  |  | ||||||
|  | @ -76,7 +76,8 @@ function appendMedia(state, media) { | ||||||
|     map.update('media_attachments', list => list.push(media)); |     map.update('media_attachments', list => list.push(media)); | ||||||
|     map.set('is_uploading', false); |     map.set('is_uploading', false); | ||||||
|     map.set('resetFileKey', Math.floor((Math.random() * 0x10000))); |     map.set('resetFileKey', Math.floor((Math.random() * 0x10000))); | ||||||
|     map.update('text', oldText => `${oldText} ${media.get('text_url')}`.trim()); |     map.set('focusDate', new Date()); | ||||||
|  |     map.update('text', oldText => `${oldText.trim()} ${media.get('text_url')}`.trim() + ' '); | ||||||
|   }); |   }); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue