Currently, the ability to insert hyperlinks into posts if quite problematic - for a few reasons…
1. The default text for the URL is still encouraging creators to use insecure, outdated “HTTP” protocol.
This is potentially a security risk - should be “HTTPS://” (if anything).
2. The default text does not go away when pasting a URL (breaking the link)
The UI is frustrating because, while you provide a default prefix “HTTP://” to get people started, I would argue that most people will copy & paste a URL here, rather than enter it manually. When they do so, the cursor position is at the end (rather than the default text being selected, so it can be replaced). This can result in a broken URL being entered (has annoying happened to me on multiple occasions):
In my opinion, it would be better if the current default text should instead be a “hint text”, which is only displayed until something is typed/pasted (and also fixed to be “HTTPS://”, as per above)
3. BUG when pasting URL too quickly?
It seems (at least on my computer) that there’s a bug when you try pasting the URL quickly after the dialog appears - where it’ll reset the text box to the default text again? (see below for replication)
Happens whether using the button to insert link or CTRL+K shortcut.
Waiting a couple of seconds before pasting the URL in the popup seems to work, but TBH, this shouldn’t be necessary.