Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pressing a formatting hotkey should toggle that formatting #1317

Open
ByteOfBrie opened this issue Aug 13, 2024 · 0 comments
Open

Pressing a formatting hotkey should toggle that formatting #1317

ByteOfBrie opened this issue Aug 13, 2024 · 0 comments

Comments

@ByteOfBrie
Copy link
Contributor

When you format text with a hotkey (ctrl-i for italics) on text that is already formatted, it should clear away existing formatting instead of trying to apply it again.

For example, when pressing ctrl-i repeatedly on the same text, you currently get:

text
*text*
**text**
***text***

instead, I would expect to get:

text
*text*
text
*text*

Notably, this should still work fine when text is already formatted with some other type (i.e., bold):

**text**
***text***
**text**
***text***
@ByteOfBrie ByteOfBrie changed the title Pressing a formatting hotkey should toggle that formatting, instead of always adding Pressing a formatting hotkey should toggle that formatting Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants