Formatting don't work anymore when not selecting text
- Dominant language
- Rust
- Stars
- 30.5k
- Forks
- 3.2k
- Avg merge
- 2d 8h
- Merged PRs (30d)
- 60
Description
Running on 72c7d64876948c6eaaf9ec21c2397434df949a5d without addon
# Description
## How to reproduce:
1. open note edito
2. press ctrl+z
3. type text
4. delete everything
5. type text again
## Actual behavior
At step 4, italic is showned as being off. At step 5 the text is in italic and italic is shown as turned-on without any request from the user
## Expected behavior:
Either at step 4 "italic" is still turned-on, or at step 5 the text is regular
# Discussion
What's even worse is that it means that there is no way anymore to deactivate italic. You can delete all text, press ctrl+i as many time as you want, new text will always appear in italic, whatever the state of the italic button. The only solution is to write italic text, select it and remove italic
I also encoutered the same issue, where I was not able to type text in italic, but I found no way to consistently reproduce this error
Contributor guide
Assessment
This issue has not been assessed yet.