Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'insert link' to message formatting bar #11577

Closed
nadonomy opened this issue Dec 2, 2019 · 2 comments · Fixed by matrix-org/matrix-react-sdk#5879
Closed

Add 'insert link' to message formatting bar #11577

nadonomy opened this issue Dec 2, 2019 · 2 comments · Fixed by matrix-org/matrix-react-sdk#5879

Comments

@nadonomy
Copy link
Contributor

nadonomy commented Dec 2, 2019

Suggestion: I frequently want to insert links in messages, but there's no option to do this in the formatting actions. The simplest solution would wrap whatever is higlighted in markdown syntax to link, with the caret then placed to paste the link address. However, we should also consider the button triggering a modal for input, where the caret is then placed after the inserted link.

@nesnera
Copy link

nesnera commented May 1, 2020

Inserting a link is implemented by almost all editorsI know. Could it be added? 🙏

@SethFalco
Copy link

Going to just copy some information over from my closed issue!
I'd love to see this get its own dedicated shortcut as well.


In my opinion, GitHub offers the best UX for this.

Peek 2021-09-03 13-21

Normally CTRL + K would be used for adding a URL, but IMs usually use this for finding chat rooms instead.

Key combination Microsoft Windows/KDE/GNOME
CTRL + K Insert hyperlink (word processing)

https://en.wikipedia.org/wiki/Control_key#Table_of_examples

The following applications utilize CTRL + K for this purpose already:

The next thought would probably be CTRL + SHIFT + K, it's worth noting browsers use this to open the dev tools console, so that might bother developers/debuggers, though.

Ideally, it should be something similar to CTRL + K so it feels more consistent with other software. ^-^'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants