davidmyersdev / ink-mde

A beautiful, modern, customizable Markdown editor powered by CodeMirror 6 and TypeScript
https://stackblitz.com/fork/github/davidmyersdev/ink-mde/tree/main/examples/template-ts?file=src/main.ts
MIT License
210 stars 16 forks source link

Missing Keymap support #71

Open FemiBlack opened 1 year ago

FemiBlack commented 1 year ago

Hi there, great project you've built here.

Was wondering if there'll be support for custom keymaps anytime soon?, (as available on CodeMirror).

Relevant discussion I found: https://discuss.codemirror.net/t/keymap-for-bold-text-in-lang-markdown/3150

I can probably do this manually right now by listening for keyup events. but i think it'll be much nicer if we had this as part of our configuration.

EvanZhouDev commented 5 months ago

@FemiBlack Any updates on this?

Apparently I can't listen for keyup either because CodeMirror intercepts it, so I'm at a bit of a loss...