-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Not all Codemirror shortcuts are working. #40595
Comments
Why do you expect that behaviour? |
@brianteeman I expect this behavior because in https://codemirror.net/docs/ref/#commands "ctrl+/" is stated as "Ctrl-/ (Cmd-/ on macOS): toggleComment." Tried it in Joomla4 and as it doesn't work I filed this tikcet. Could you check if it works for you? This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40595. |
On https://codemirror.net/ it works normally. This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40595. |
The links you shared are for codemirror v6. Joomla is currently using v5. |
In https://codemirror.net/5/doc/manual.html#commands it mention it's possible to use comment/comment.js This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/40595. |
It is working in Joomla 5 with Codemirror 6 #41070 |
Steps to reproduce the issue
Switch editor to Codemirror in global configuration.
During editing in Codemirror press "Ctrl+/" to comment a line or block.
Expected result
Line/block should be commented.
Actual result
Nothing happens.
System information (as much as possible)
Tried on freshly installed joomla 4 instalation, and asked on Joomla forum to check the scenario:
https://forum.joomla.org/viewtopic.php?f=814&t=1001653
and the other person had the same result.
Additional comments
The text was updated successfully, but these errors were encountered: