enhancement (?): unlinking entire link instead of subrange
Would it be better to remove a link entirely when selecting a subrange of a link and clicking the toggleLink?
It just kind of worked that way be default. It seems like it is kind of handy that way incase you over select when you create the link you can then trim it up. Thoughts?
Currently trying to come up with some selection-functions using rangy that would allow to snap to entire link on partial link selection as well as overselection. This would feel more stable imo and seems to be more in line with what a user would want. I.e.: partially selecting or only moving the caret inside the link would enable the user the unlink the entire link and not just the selected portion.
Sounds like an improvement from UX perspective?