Fix extra spaces a user selects when adding a link

In your example you select the leading space when creating the link. That’s not typical behavior. Try selecting the word without the space and the issue won’t occur.

It’s hard to call this a bug as the toolbar button is trimming white space from the selection because whitespace within anchors looks messy.

The latter is only happening because you’re selecting the leading space, don’t do that and the link presentation cleanup won’t hit you.

3 Likes