- Type some text. E.g. example.org
- Select it and create a link. By default one is now on the "Search pages" tab, with text example.org.
- Put cursor at the start and type https://www.
After typing https://, VisualEditor automatically switched to the External link tab of the link widget. While this is nice, it also involved swapping out the widget content with that of the external link widget. While the text was preserved (by coping the existing content and filling it into the other widget), doing so loses the current typing context and thus the cursor position.