Carlos, have you tried Ihor's patch? I like the intention, but I do not
see any effect.

Yes, I've tested it with target and custom_id links and, as you said, there is no change in behavior. The entire URL is still pasted and no chance to edit it is given to the user.

Best regards
--
Carlos