-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Additional backtick added when writing code #4642
Comments
I'm struggling to reproduce this issue. What keyboard layout are you using, @swissspidy? |
Ah, right. I‘m using a (Swiss) German keyboard layout. |
I couldn't reproduce this issue too. I'm using a pt_BR keyboard layout. |
I guess the big difference is that we use a QWERTZ keyboard layout, not QWERTY. You'll find lots of examples (including the Swiss and the German keyboard layout) on Wikipedia: https://en.wikipedia.org/wiki/QWERTZ It's important to note that we need to press two keys (shift + caret) to get a backtick and that the backtick will be added to the succeeding letter (example: à) unless you "cancel" by hitting space (example: `a). |
Some GIFs: There's an issue with a trailing backtick that gets added, though. Steps to reproduce:
A smaller issue that is perhaps related, you can't convert a word to code if you add the backticks from right to left: |
I've got this problem with a UK English keyboard in 2.6.0 You have to use Edit as HTML to fiddle about with the |
Tested and confirmed that when using backticks to convert text to code, with the Swiss German keyboard layout active, an extra backtick appears in Chrome after typing a closing backtick. In Firefox, an extra backtick does not appear but the space gets eaten. In Safari 😆 My testing steps:
Video: 1m13s
|
This has stopped happening for me for some reason. @designsimply can you recheck the above test? |
@mtias That's because of the new rich text value. @swissspidy Could you confirm this works now? Closing as I can also not reproduce. |
@swissspidy There's an issue for that: #11276. |
Issue Overview
When adding backticks, text between them will be in a
<code>
tag. When I try to close the code tag by typing the second backtick, the code tag is closed, but the backtick is written as well.Steps to Reproduce (for bugs)
à
)I'm using Chrome 63 (stable) on macOS, with WordPress trunk.
Expected Behavior
Current Behavior
The code tag is added too late and the backtick is appended erroneously
Screenshots / Video
Here's a demo video: https://cloudup.com/cdRaWfzWJL1
Related Issues and/or PRs
#703, #4290
Todos
The text was updated successfully, but these errors were encountered: