         @label 'Copy image to root /assets folder'
         @div class: 'drop-area paster', =>
           @p class: 'paster', 'Drop image file here or click me'
-          @input class: 'file-uploader paster', type:'file', style: 'display: none;'
+          @input class: 'file-uploader paster', type:'file', style: 'display: none;', multiple: "multiple"
 
         @div class: 'splitter'
 
         @label 'Upload'
         @div class: 'drop-area uploader', =>
           @p class: 'uploader', 'Drop image file here or click me'
-          @input class: 'file-uploader uploader', type:'file', style: 'display: none;'
+          @input class: 'file-uploader uploader', type:'file', style: 'display: none;', multiple: "multiple"
       @div class: 'close-btn btn', 'close'
 
   hidePanel: ->


    fileUploader.on 'change', (e)=>
      if e.target.className.indexOf('paster') >= 0 # paste
        @pasteImageFile(e.target.files[0])
      else # upload
        @uploadImageFile(e.target.files[0])

  replaceHint: (editor, lineNo, hint, withStr)->
    if editor && editor.buffer && editor.buffer.lines[lineNo].indexOf(hint) >= 0

      e.stopPropagation()
      if e.type == "drop"
        if e.target.className.indexOf('paster') >= 0 # paste
          for file in e.originalEvent.dataTransfer.files
            @pasteImageFile file
        else # upload
          for file in e.originalEvent.dataTransfer.files
            @uploadImageFile file

    dropArea.on 'click', (e) ->
      e.preventDefault()
