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.39k stars 316 forks source link

A better spellcheck #157

Open mxgl opened 4 years ago

mxgl commented 4 years ago

Is your feature request related to a problem? Please describe. The spellcheck is pretty bad... And the [library used[(https://github.com/sparksuite/codemirror-spell-checker) hasn't been updated in 4 years.

It is aggressive in highlighting words as being typed, thinks numbers are spelled incorrectly, and doesn't allow us to specify our own (additional) dictionaries.

Describe the solution you'd like pipe dream: Native spellcheck with both textarea and contenteditable pragmatic: something like Codemirror-Typo or this slightly updated Codemirror-Spell-Check and allowing us to include our own dictionary files Maybe even https://github.com/wooorm/nspell

Describe alternatives you've considered I just disable it... which is bad in a different way.

Additional context not really applicable here.

mxgl commented 4 years ago

It looks like the contenteditable changes fix this! And now that Tribute released 4.1.3, which fixed content editable support, I may be able to deploy this in my environment.

Is there an ETA on the release of 2.9.1 for this feature?

Thank you for the great product @Ionaru !

I do still think having a better option than SparkSuite's outdated Codemirror-Typo is worthwhile for those that cannot use contenteditable for some reason.