# Inserting link to topic in selected text should maintain selected text

**URL:** https://meta.discourse.org/t/inserting-link-to-topic-in-selected-text-should-maintain-selected-text/378185
**Category:** UX
**Tags:** composer, pr-welcome
**Created:** [August 11, 2025, 5:41pm UTC](https://meta.discourse.org/t/inserting-link-to-topic-in-selected-text-should-maintain-selected-text/378185 "2025-08-11T17:41:17Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![alltiagocom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alltiagocom/32/492709_2.png) [@alltiagocom](https://meta.discourse.org/u/alltiagocom)
#### Post date: [August 11, 2025, 5:41pm UTC](https://meta.discourse.org/t/inserting-link-to-topic-in-selected-text-should-maintain-selected-text/378185/1 "2025-08-11T17:41:17Z")

</div>

When we select some text:

![SCR-20250809-rejm](https://global.discourse-cdn.com/meta/original/4X/e/8/d/e8da4d2bcf408ade2f10faad4e403623bc6367cd.png)

and then press CMD/CTRL+K to open the window to add the link:

 ![SCR-20250809-relt](https://global.discourse-cdn.com/meta/original/4X/3/5/7/357b5ef7ab0fa88a9e4f11c4edaf56956bbdd07f.png)

and we search for a topic:

 ![SCR-20250809-renj](https://global.discourse-cdn.com/meta/original/4X/a/a/a/aaab7797fc7170972390fb72785b97acf41e7ac3.png)

I think the selected text should be kept, otherwise, it doesn’t make much sense to select the text if we are going to lose it:

 ![SCR-20250809-reoq](https://global.discourse-cdn.com/meta/original/4X/7/e/9/7e9e8c1d95fa3faf9682baab1676d018865382f7.png)

Either keep the selected text by default, or give us the option to either use the selected text or the topic title.

---

_[View the full topic](https://meta.discourse.org/t/inserting-link-to-topic-in-selected-text-should-maintain-selected-text/378185)._
