-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Beta markdown editor: Support Ctrl+Enter keyboard shortcut (Cmd+Enter on MacOS) #9980
Comments
I am trying to work on it but need a bit assistance in finding where to add the changes. I found this article https://www.electronjs.org/docs/latest/tutorial/keyboard-shortcuts that mentions adding the shortcuts in Electron JS using If someone can point me to the relevant code it'll help a lot. |
I don't think this has anything to do with electron shortcuts. It should be specific to CodeMirror (version 6, since it mentions beta editor, I believe) |
Operating system
Linux
Joplin version
2.14
Desktop version info
No response
Current behaviour
Currently, pressing Ctrl-Enter (Cmd+Enter on MacOS) in the beta and legacy markdown editors does nothing. In VSCode and with the default CodeMirror setup, it inserts a new line below the current.
Expected behaviour
Pressing Ctrl-Enter should have behavior consistent with VSCode and the CodeMirror 6 defaults.
Logs
No response
The text was updated successfully, but these errors were encountered: