Skip to content
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

Provide a way to customise keyboard shortcuts on CodeMirror #556

Open
tadayosi opened this issue Aug 21, 2023 · 0 comments
Open

Provide a way to customise keyboard shortcuts on CodeMirror #556

tadayosi opened this issue Aug 21, 2023 · 0 comments

Comments

@tadayosi
Copy link

tadayosi commented Aug 21, 2023

Is your feature request related to a problem? Please describe.
EasyMDE provides a way to customise the default keyboard shortcuts here:
https://github.com/Ionaru/easy-markdown-editor#keyboard-shortcuts
However, the defined actions don't cover what are defined in underlying CodeMirror, thus for instance shortcuts such as Ctrl+A (selectAll) cannot be customised.

Describe the solution you'd like
Provide a way to also customise the keyboard shortcuts https://codemirror.net/5/doc/manual.html#keymaps on CodeMirror from EasyMDE.

Describe alternatives you've considered
If it's already possible in some way (e.g. #124), then add explanation to the documentation on how to do so.

Additional context
This might be related or even a duplicate of #124, and someone suggested a solution (not sure if it works) #124 (comment). So it could be that easyMDE.codemirror is the way to go, but I'd like to make sure that it really works if it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant