Ionaru / easy-markdown-editor

EasyMDE: A simple, beautiful, and embeddable JavaScript Markdown editor. Delightful editing for beginners and experts alike. Features built-in autosaving and spell checking.
https://stackblitz.com/edit/easymde
MIT License
2.31k stars 308 forks source link

Want to use vim keymap in easy mde. #593

Open polodev opened 4 weeks ago

polodev commented 4 weeks ago

Require to add vim KeyMap

easymde.codemirror.setOption('keyMap', 'vim'); 

getting following error

Uncaught TypeError: Cannot read properties of undefined (reading 'call')
    at Zo (easymde.min.js:7:128459)
    at easymde.min.js:7:138057
    at da (easymde.min.js:7:138084)
    at ca (easymde.min.js:7:137852)
    at easymde.min.js:7:140370
    at Ma.ba (easymde.min.js:7:140594)
    at HTMLDivElement.<anonymous> (easymde.min.js:7:80947)Understand this error
easymde.min.js:7 

Is there any way I can Use Easy Markdown Editor with vim keybindings