{{#if this.isEditing}} {{markdown.editor}} {{!-- files are dragged over editor pane --}} {{#if editor.isDraggedOver}}

{{t "koenig.md.Drop image(s) here to upload"}}

{{/if}} {{!-- files have been dropped ready to be uploaded --}} {{#if editor.droppedFiles}}
{{#if upload.errors}}

{{t "koenig.md.Upload failed"}}

{{#each upload.errors as |error|}}
{{error.fileName}} - {{error.message}}
{{/each}} {{else}}

{{t "koenig.md.Uploading {images, plural}..." images=upload.files.length}}

{{upload.progressBar}} {{/if}}
{{/if}}
{{#if this.preventClick}}
{{/if}} {{else}} {{this.renderedMarkdown}}
{{/if}}