Originally reported in #716 (comment)
- start a draft, enter some text
- place the cursor on a word
- tap the link button
- in the URL field, insert something with a space in it, for example
yahoo com instead of yahoo.com, and dismiss the links ui
- observe 2 different words are inserted where the cursor was,
yahoo and com
- place the cursor on
yahoo and tap the links button -> observe the links ui shows empty
- place the cursor on
com and tap the links button -> observe the yahoo com (invalid) address appears there.