How do I change a shortcut for strikethrough? #1538
-
Hi, I create an instance like this
There's strikethrough mark I really like and it has own keymap:
Can I change it to I'm kinda dummy, so I'll be glad for the fullest possible code examples. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
shenzhongkang
Feb 17, 2025
Replies: 1 comment 1 reply
-
@qurle add this in your ctx.set(strikethroughKeymap.key, {
ToggleStrikethrough: ['Mod-Shift-x']
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
qurle
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@qurle add this in your
editor.config(ctx => { /* add code here */ })