Steps to reproduce
- In Android Chrome using Gboard in English, open the VE standalone h1 demo (e.g. go to https://rawcdn.githack.com/wikimedia/VisualEditor/4669eff2bd4441da2b0c3e19cecafdbc2bcc59b8/demos/ve/mobile.html#!h1 ).
- The document should read "abcdefg". Put the cursor after the "d" and press Enter to break the paragraph.
- Turn on "Show model" and "Update on change".
- Make a selection that crosses the paragraph break (e.g. select "cd" and "ef"). Press backspace.
Expected behaviour: the selected content is removed and the paragraphs are unified.
Actual behaviour: an extra copy of the second paragraph is left behind.
I would guess this is due to the details of the HTML tree changes and DOM events caused by pressing backspace in Gboard in some languages. It happens on mobile Firefox too. It occurs with Gboard English and Welsh, but not with Gboard Cantonese Jyutping. Other input methods seem unaffected.