List of steps to reproduce (step by step, including full links if applicable):
- Open the VisualEditor using an Android device with the Google Keyboard. The issue is specific to Google Keyboard on Chrome; other custom Android keyboards such as Samsung do not exhibit the behavior, nor does Mobile Firefox.
- Input some text using the keyboard. (If using an emulator, use the Google Keyboard in the emulator rather than your physical keyboard)
- Press Enter using the keyboard.
What happens?:
The cursor position remains unchanged, but a newline is inserted below the cursor position. The VisualEditor DM does not become aware of the newly inserted newline / paragraph.
What should have happened instead?:
The cursor should move to the newly inserted line and the DM should be updated accordingly.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
Reproduced on an emulated Pixel 5 using Google Chrome.