Steps to reproduce
- On windows platform,obsidian v1.8.0
- input any Full-Width Chinese Punctuation in obsidian editor
In the Windows environment, Obsidian version 1.8.0 exhibits an issue where inputting a full-width punctuation mark results in two edit updates. For example, when entering 【
, Obsidian generates the effect of two edits: the first inserts 【
at the current position, and the second replaces the newly inserted 【
with another 【
.
Specifically, I used EditorState.transactionFilter.of(this.transactionFilterPlugin)
to monitor the input behavior in Obsidian. When inputting 【
once, the console output is as follows:
The same issue occurs with other full-width Chinese punctuation marks.
Although these dual edit updates only introduce redundant operations, they cause certain bugs in the Easy Typing plugin.
This issue only occurs in Obsidian version 1.8.0 and is limited to the Windows platform. (I have test the Mac OS platform, not sure for Android, ios and linux)
Expected result
Input a punctuation only dispatch one transaction.
Actual result
see above.
Environment
Easy Typing plugin is used for the transaction monitor.
Additional information
Related Issue: 1.8.0 insider 使用过程中有一些 bug · Issue #265 · Yaozhuwa/easy-typing-obsidian · GitHub