# When adding multiple links, the Insert Hyperlink dialog shows the content of the previously added link

**URL:** https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051
**Category:** Bug
**Created:** [26. November 2015 um 12:08 UTC](https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051 "2015-11-26T12:08:08Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![uwe\_keim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/uwe_keim/32/326762_2.png) [@uwe\_keim](https://meta.discourse.org/u/uwe_keim)
#### Post date: [26. November 2015 um 12:08 UTC](https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051/1 "2015-11-26T12:08:08Z")

</div>

Steps:

1. New posting.
2. Insert a link via Ctrl+K.
3. Paste some text in the text box.
4. Close with OK.
5. Insert another a link via Ctrl+K.

The second time the Insert Hyperlink dialog appears, it still shows the previously entered link.

I’ll have to manually delete the text before pasting the new link into the text box.

Personally I would prefer to have a blank text box for every new link I insert.

---

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [26. November 2015 um 13:25 UTC](https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051/2 "2015-11-26T13:25:44Z")

</div>

Agree… checked here. New replaying 😄

This is not a bug ? 🐛

---

<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: [26. November 2015 um 21:26 UTC](https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051/3 "2015-11-26T21:26:00Z")

</div>

A bug for you @eviltrout

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [27. November 2015 um 18:34 UTC](https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051/4 "2015-11-27T18:34:00Z")

</div>

Fixed this here:

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

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [27. November 2015 um 18:34 UTC](https://meta.discourse.org/t/when-adding-multiple-links-the-insert-hyperlink-dialog-shows-the-content-of-the-previously-added-link/36051/5 "2015-11-27T18:34:03Z")

</div>


