# Uploading multiple files via drag and drop puts them all on one line

**URL:** <https://meta.discourse.org/t/uploading-multiple-files-via-drag-and-drop-puts-them-all-on-one-line/28099>\
**Category:** Feature\
**Created:** [2015年四月29日 17:06 UTC](https://meta.discourse.org/t/uploading-multiple-files-via-drag-and-drop-puts-them-all-on-one-line/28099 "2015-04-29T17:06:02Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)\
**Post date:** [2015年四月29日 17:06 UTC](https://meta.discourse.org/t/uploading-multiple-files-via-drag-and-drop-puts-them-all-on-one-line/28099/1 "2015-04-29T17:06:02Z")

</div>

When I drag a bunch of files at once to upload them, I then have to go back and put in line breaks manually so they do not wrap. This is a bit tricky because it’s all HTML code.

(aside: is there not a way to make these uploads more user-friendly within markdown? eg just show the resulting URL which then converts automagically to the format below if it’s not a file that can be displayed in a onebox?)

Replication steps are easy

1. upload bunch of files at once via drag/drop
2. see results which look like this screenshot

 ![](https://global.discourse-cdn.com/meta/original/3X/0/7/07042edaadc2a6a7c3c2f13e0a7b8cad84d820a0.png)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2016年五月19日 22:51 UTC](https://meta.discourse.org/t/uploading-multiple-files-via-drag-and-drop-puts-them-all-on-one-line/28099/2 "2016-05-19T22:51:53Z")

</div>

Sure @zogstrip can you add linebreaks after each uploaded file? I assume this is pretty easy?

---

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [2016年五月20日 09:36 UTC](https://meta.discourse.org/t/uploading-multiple-files-via-drag-and-drop-puts-them-all-on-one-line/28099/3 "2016-05-20T09:36:27Z")

</div>

Sure thing 🕶

[https://github.com/discourse/discourse/commit/c4f93846f95cb37acbe2fa725614494a2ecbee36](https://github.com/discourse/discourse/commit/c4f93846f95cb37acbe2fa725614494a2ecbee36)

---

<div class="post-metadata">

**Author:** ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)\
**Post date:** [2016年五月20日 09:50 UTC](https://meta.discourse.org/t/uploading-multiple-files-via-drag-and-drop-puts-them-all-on-one-line/28099/4 "2016-05-20T09:50:41Z")

</div>


