diff --git a/ghost/admin/app/components/gh-editor.js b/ghost/admin/app/components/gh-editor.js index f5ea5396e1..7c1f6538ac 100644 --- a/ghost/admin/app/components/gh-editor.js +++ b/ghost/admin/app/components/gh-editor.js @@ -156,7 +156,10 @@ export default Component.extend({ }, uploadImages(fileList, resetInput) { - this.set('droppedFiles', fileList); + // convert FileList to an array so that resetting the input doesn't + // clear the file references before upload actions can be triggered + let files = Array.from(fileList); + this.set('droppedFiles', files); resetInput(); },