Editing an inline link works with the cursor inside the linked text, but not when you select the actual words and hit the link button, let's fix so it works in the latter case too!
Related enhancements could also include:
- on hover, show the link url
- if editing existing, make it possible to remove the inline link
orig at GitHub: https://github.com/hyperlink-academy/leaflet/issues/221