feature-requests icon indicating copy to clipboard operation
feature-requests copied to clipboard

Easy hyperlink creation

Open dacrome opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. As a Rocket.Chat user, I want to easily add a hyperlink to my text message.

Describe the solution you'd like Like on GitHub

  • When the user uses cmd+k / ctrl+k in the message input field the markdown format is show with [](url)
  • When the user highlights a text (e.g. TICKET-1234) in the message input field and uses cmd+k / ctrl+k the markdown format is show with [TICKET-1234](url) (the word 'url' is selected to be able to directly replace is with a copied url)
  • When the user highlights a URL (e.g. http://example.com) in the message input field and uses cmd+k / ctrl+k the markdown format is show with [](http://example.com) (and the cursor jumps between the 2 square brackets)
  • When the user highlights a text (e.g. TICKET-1234) in a message and uses cmd+v / ctrl+v and a URL is already in the clipboard, the markdown format is show with [TICKET-1234](http://copied.url) - this means the url from the clipboard is automatically placed.

All these actions can also be done by clicking a link format button under the message input field.

Describe alternatives you've considered At least or as a first change, just add the markdown link format syntax if using the keyboard shortcut or adding a link format button under the message input field.

dacrome avatar Aug 30 '22 12:08 dacrome

Nice to have that feature in Rocket.Chat!

ankar84 avatar Sep 07 '22 03:09 ankar84

Having an easier way to create links would be a great time saver. I use links in messages quite often, but it's very inconvenient to create these.

LenzGr avatar Jan 15 '25 17:01 LenzGr