Describe the bug
On Ubuntu with a German keyboard layout (Qwertz), I cannot type a grave accent (`) while selecting some text to wrap it into a code block.
To Reproduce
Steps to reproduce the behavior:
Type abc
Select it
Type dead backtick on Ubuntu Qwertz keyboard:
either Shift + ´ , Shift + ´
or Shift + ´ , Space
Expected behavior`abc`
Actual behavior`
Desktop (please complete the following information):
OS: Ubuntu 22, Qwertz keyboard layout
Typora Version
e.g: 1.8.10
Additional context
For reference, VS Code handles both input versions exactly as I would expect it.
Not sure what's the proper way to implement this, but from my black-box perspective I think U+0300 COMBINING GRAVIS ACCENT character should be handled in a similar way to U+0060, but this might need to be honored for the next keyboard input. Also consider special cases like pressing Shift + ´ , a while the text is selected, which like in VS Code should replace the prior selection by a single à.
[x] Searched existing issues to avoid creating duplicates.
[x] Confirmed that it can be reproduced in built-in themes without customized css.
[x] Searched http://support.typora.io/
Describe the bug On Ubuntu with a German keyboard layout (Qwertz), I cannot type a grave accent (
`
) while selecting some text to wrap it into a code block.To Reproduce Steps to reproduce the behavior:
abc
Expected behavior
`abc`
Actual behavior
`
Desktop (please complete the following information):
Typora Version e.g: 1.8.10
Additional context For reference, VS Code handles both input versions exactly as I would expect it.
Not sure what's the proper way to implement this, but from my black-box perspective I think U+0300 COMBINING GRAVIS ACCENT character should be handled in a similar way to U+0060, but this might need to be honored for the next keyboard input. Also consider special cases like pressing Shift + ´ , a while the text is selected, which like in VS Code should replace the prior selection by a single
à
.