Cannot set some keystrokes that would be useful for adding shortcuts to indent/dedent
📝 Provide detailed reproduction steps (if any)
- Try setting keystroke actions for any of:
Ctrl+.,Ctrl+Shift+.,Ctrl+],Ctrl.,,Ctrl+Shift+,, orCtrl+[(usingeditor.keystrokes.set, for exampleeditor.keystrokes.set('Ctrl+]', (data, cancel) => someFunction) - They don't seem to get triggered
✔️ Expected result
I expect to be able to bind to those keyboard shortcuts.
❌ Actual result
Nothing happens.
❓ Possible solution
Maybe there's a different way to add keystrokes than editor.keystrokes?
📃 Other details
- Browser: Chrome 100.0.4896.75 (Official Build) (x86_64)
- OS: Mac
- Installed CKEditor version:
^31.0.0
I'm having the same issue adding a keystroke for Ctrl+. but it only seems to be an issue on Chrome and only using the period character in the general typing area of the keyboard. Not the period on the number pad.
I believe this may be an issue of how the characters get mapped into key codes in ckeditor5/packages/ckeditor5-utils/src/keyboard.js. The key code for Delete (46) matches with the Period key code.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
There has been no activity on this issue for the past year. We've marked it as stale and will close it in 30 days. We understand it may still be relevant, so if you're interested in the solution, leave a comment or reaction under this issue.
We've closed your issue due to inactivity. We understand that the issue may still be relevant. If so, feel free to open a new one (and link this issue to it).