Better handling of invalid URLs in link editor
The link editor requires users to enter proper URLs. That means that the URL must start with a protocol like https://
. This is rather technical knowledge and users might expect something like www.example.org
to work even though it technically must be https://www.example.org
.
Options for handling this may be:
- Automatically adding
https://
if the protocol is missing. This might be ok because most sites support TLS. - Displaying an error message that a protocol is missing.
Right now the field is just colored in red and doesn’t give any explanation why it is considered invalid. It also does not persist the value likely causing data loss in some situations.