# Adding a hyperlink with "insert file explorer" erase the selected text

**URL:** <https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97>\
**Category:** Redactor\
**Created:** [October 27, 2015, 12:06pm UTC](https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97 "2015-10-27T12:06:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![webmasterunifr](https://forum.modmore.com/user_avatar/forum.modmore.com/webmasterunifr/32/120_2.png) [@webmasterunifr](https://forum.modmore.com/u/webmasterunifr)\
**Post date:** [October 27, 2015, 12:06pm UTC](https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97/1 "2015-10-27T12:06:02Z")

</div>

hi,

we detected a unwanted behaviour in the “insert file” plugin.

when you select a text for adding a _hyperlink_ to a file, and in eureka you select a **existing file** , the selected text will be replaced with the name of the file, when you _chose_ the file.

Normally we expected that add only a hyperlink on the selected text…

It’s normal this behaviour ?

Thx

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [October 27, 2015, 8:24pm UTC](https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97/2 "2015-10-27T20:24:15Z")

</div>

Hi Samuel,

No, that’s not the expected behaviour - but I did manage to replicate it so it isn’t you!

I’ve logged this in our tracker as #384 so we can look for a fix in the next release.

---

<div class="post-metadata">

**Author:** ![webmasterunifr](https://forum.modmore.com/user_avatar/forum.modmore.com/webmasterunifr/32/120_2.png) [@webmasterunifr](https://forum.modmore.com/u/webmasterunifr)\
**Post date:** [January 12, 2016, 4:30pm UTC](https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97/3 "2016-01-12T16:30:35Z")

</div>

Hi @mhamstra !

there is some news about this issues #384? it’ll be fixed soon?

we read in the changelog of the version 2.0.4-pl some fix to eureka but nothing change for us…

The issues start to be a problem for our users ☹

---

<div class="post-metadata">

**Author:** ![mhamstra](https://forum.modmore.com/user_avatar/forum.modmore.com/mhamstra/32/459_2.png) [@mhamstra](https://forum.modmore.com/u/mhamstra)\
**Post date:** [January 12, 2016, 4:50pm UTC](https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97/4 "2016-01-12T16:50:02Z")

</div>

Hi Samuel,

No news on that yet, sorry! Will definitely let you know as we fix that and have a release coming up.

---

<div class="post-metadata">

**Author:** ![jpdevries](https://forum.modmore.com/user_avatar/forum.modmore.com/jpdevries/32/55_2.png) [@jpdevries](https://forum.modmore.com/u/jpdevries)\
**Post date:** [January 15, 2016, 9:29pm UTC](https://forum.modmore.com/t/adding-a-hyperlink-with-insert-file-explorer-erase-the-selected-text/97/5 "2016-01-15T21:29:44Z")

</div>

Hi Samuel,

We believe this is fixed in 2.0.6-pl as well. Thanks for reporting this.
