ankitects / ankitects/anki

Undo in the editor

オープン
#1,326 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る
editor
主要言語
Rust
スター
30.5k
フォーク
3.2k
平均マージ
2日 8時間
マージ済み PR(30日)
60

説明

Anki 2.1.46 (94913ec2)⁩
Windows 10 21H1

(My English is very bad, these words below I used translation software, may not be very clear expression, but I hope you can understand)

Type some text
![图片](https://user-images.githubusercontent.com/63684082/128695990-e27a279d-626d-49c4-b384-cb3e14edfc5b.png)
Select some text superscript or subscript
![图片](https://user-images.githubusercontent.com/63684082/128696016-5e53fa57-ca67-44d4-9053-f469eaa410e1.png)
If you click the "HTML Editor" button after superscripting or subscripting some text
![图片](https://user-images.githubusercontent.com/63684082/128696023-24dbd0bd-0d77-4bbd-9c8f-9d59731ef281.png)
Then back
![图片](https://user-images.githubusercontent.com/63684082/128696029-c3a2746c-f554-42bd-855e-e043c919b6ec.png)
If you try to undo with Ctrl+Z again at this point, something strange will happen
Sometimes the undo will fail, sometimes the text will not be undone properly, but the previously deleted text will reappear.

I recorded a video to show it.
After returning from the "HTML Editor", the first time I pressed Ctrl+Z the text did not change (normally, the 123456789 should be 123456789), and when I pressed Ctrl+Z a second time, the previously deleted 999999 appeared. The third time I pressed Ctrl+Z, the 999999 that had suddenly appeared disappeared.

https://user-images.githubusercontent.com/63684082/128696905-1d87ea76-c335-4f04-ab92-70edbb424637.mp4

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。