How to make URL scheme clickable in edit mode?

A link like: somedomain://url is clickable in reading mode, but not in edit mode.

However, if it contains “http://” it’s clickable in either mode: https://www.apple.com/macbook-air/specs/

Is there a way to make somedomain://url clickable in edit mode?