Editor: Backticks using German keyboard doesn't trigger code formatting
See original GitHub issueIssue Summary
When using a german keyboard layout backticks do not trigger the markdown code expansions.
To Reproduce
- Switch keyboard layout to German
- Attempt to use the backtick key to format text as per markdown (working demo)
Technical details:
- Ghost Version: 2.0.3
- Node Version: 8.11.4
- Browser/OS: Chrome Version 68.0.3440.106 (Official Build) (64-bit), macOS 10.13.6 (17G65)
- Database: MySQL 5.7.23
First up: the new editor is totally awesome! 🎉 really great work. I am currently in the process of implementing a RTE of sorts myself and now I have yours as a clear goal to aim to. Great work!
As described above, the only thing missing (for now) is inline code
formatting. Currently it is
cumbersome to write a paragraph, see that I need code
formatting, cut, /m
, choosing markdown, pasting, jumping back to my position and add the backticks.
I have searched the issue tracker, but looking for code
has quite a few false positives so sorry if I missed a previous issue.
Keep doing your great work. 💪
PS: this issue is not about something fancy like highlighting in inline code, just the <code>..</code>
tags.
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (4 by maintainers)
Top GitHub Comments
@apfelbox this is definitely related to the German keyboard layout, I can reproduce when I switch my mac to that. I’ve updated the issue title and description accordingly
Hmm, that doesn’t seem to work for me:
I have no errors in the console. I have however a German keyboard layout, and in this layout you have to hit space after typing `, as to indicate, that it shouldn’t be placed upon an a (à) or something similiar. Doesn’t look like this in your typing, that’s why I am mentioning it.
Funny thing though: if I copy the markdown code and just paste it in a regular paragraph, the
code
is picked up correctly.