Suggestion - Insert Link Modal -> Default to URL Field When Text is Selected

Operation system: Windows 11

Web Browser: Edge


Feature Request

What were you doing: Attempting to add a link to text I already selected

What feature did you use: Ctrl+k

What happened: Link modal popped up with the selected text as the default editable field

What did you want to happen: Have the default field to be the URL field so I can paste the URL in and hit enter quickly rather than tabbing to a different field. Since the text was already highlighted and there, it would make sense that I want to add a link to it, not modify the text


Feedback:
Just a feature suggestion! Web is pretty dang amazing and I’ve been having trouble finding anything that is causing me trouble so far

Great suggestion. Most often when creating links with cmd-k I have highlighted a url and I like that the edit link dialog automatically selects the alias field and fills it with what’s on the clipboard, so I would suggest intelligently give focus to the url field if the selected text is simply text, and the alias field if the selected text is a url.

EDIT – well I take that back. Already if I copy a url from somewhere, highlight a word or phrase in bear, and type cmd-k the selected text set as the alias and the url auto-pastes from the clipboard. This is fanntastic. If I likewise copy a url, select text and type cmd-p (paste), it creates the link without using the modal dialog. Thus bear already handles those cases quite nicely. The case you perhaps are wanting is when you have not copied a url, type cmd/ctrl-k and you wish the url field to have focus. That seems reasonable, but is a rather limited usecase. It is far more common for someone to have copied the url and select a word to make a link, or add an alias to a link, than it is for someone to select a word and attempt to hand-type the url. Anway, perhaps Bear already does everything you want if you simply change your order of operations.

1 Like

Ah, I see now. Didn’t know that just pasting over text there would make it a link! Very helpful and great to know!

Appreciate you taking the time to check it out because I don’t think I would’ve figured it out haha

1 Like