Links: Change add link so it preserves selected text

* Changes the add link code so it does not replace the selected
  text with the link title.

Bug: 72262
Change-Id: I8f000e8e55db7474f0abda63e2cd1356b591212c
Merge "Links: Change add link so it preserves selected text"