# Selected text is overwritten when using the link toolbar action

**URL:** <https://meta.discourse.org/t/selected-text-is-overwritten-when-using-the-link-toolbar-action/75515>\
**Category:** Bug\
**Created:** [06.Декабрь.2017 11:45:14 UTC](https://meta.discourse.org/t/selected-text-is-overwritten-when-using-the-link-toolbar-action/75515 "2017-12-06T11:45:14Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/579307_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)\
**Post date:** [06.Декабрь.2017 11:45:14 UTC](https://meta.discourse.org/t/selected-text-is-overwritten-when-using-the-link-toolbar-action/75515/1 "2017-12-06T11:45:14Z")

</div>

Hello,

Since the latest github commits, it seems, there is something broken. Workaround:

By selecting a few words and trying to insert a hyperlink with the symbol bar icon, I’ve got a problem: The link I’ve copied before will overwrite the selected text, insted of filling the text field of the hyperlink prompt.

Result:  
If I wrote more than just a few words and overwrite them, they will be lost for ever! I can’t undo this to restore my text. :sadpanda:

---

_[View the full topic](https://meta.discourse.org/t/selected-text-is-overwritten-when-using-the-link-toolbar-action/75515)._
