Obsidian formatting breaks with Google Keyboard undo button

Steps to reproduce

When I use obsidian on my mobile app, if I have headings with #s or links [], they get replaced with OBJ symbols if I use my Google keyboard’s Undo button. Undo shows up when I use the swipe to delete function on the Google keyboard

Please could you investigate this bug?

Did you follow the troubleshooting guide? [Y/N]

yes I promise I was able to mess around with it on a new vault and it occured! I had to use undo after deleting half of a heading.

Expected result

I expect the #s or [[]] to not turn into OBJ format

Actual result

Square OBJ box in place of heading

Environment

SYSTEM INFO:
Operating system: android 14 (samsung SM-S918B)
Obsidian version: 1.8.9 (195)
API version: v1.8.9
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on

RECOMMENDATIONS:
none


Additional information


I just had this exact same thing happen.It seemed only to cause the OBJ issue (when I used Google Keyboard unto button) above where I had the cursor. None of the brackets or #s below the cursor changed into OBJs.

SYSTEM INFO:
Operating system: Android version 15
Obsidian version: 1.8.9
API version: ?
Login status: logged in
Language: en
Catalyst license: none
Live preview: on
Base theme: Dark
Community theme: Minimal with Style Settings tweaks
Snippets enabled: 0
Restricted mode: off

Yes I can reproduce this.