Commit 7d21718
committed
fix(image): allow re-uploading same image file
Fixes #543, #568, #503
When using base64 image upload (no uploadUrl), the file input value
was not reset after upload, preventing the same image from being
re-uploaded without first uploading a different image.
Changes:
- Reset event.target.value after FileReader completes
- Matches existing behavior in watchUploadImage for URL uploads
- Users can now delete and re-upload the same image immediately
Regression from issue #38 fix that was accidentally removed.1 parent 3563552 commit 7d21718
File tree
1 file changed
+2
-0
lines changed- projects/angular-editor/src/lib/ae-toolbar
1 file changed
+2
-0
lines changedLines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| 337 | + | |
| 338 | + | |
337 | 339 | | |
338 | 340 | | |
339 | 341 | | |
| |||
0 commit comments