Steps to reproduce
Select some text, in Chinese input method, press Shift-9, it will use a ‘(’ to replace text. Then Ctrl-Z, the ‘(’ vanishes but the original overwritten text is lost. Furthur Ctrl-Z cannot recover the lost text.
Did you follow the troubleshooting guide? [Y/N]
Y
Expected result
Using ‘(’ to replace text can be undone correctly
Actual result
The overwritten text cannot be undone
Environment
SYSTEM INFO:
Obsidian version: v1.10.6
Installer version: v1.6.7
Operating system: Windows 11 Pro 10.0.26100
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
This only happens when using Chinese input method to input ‘(’ (or other chinese punctuation like ‘,’).
Pasting these Chinese punctuation doesn’t trigger the bug.