-
Notifications
You must be signed in to change notification settings - Fork 320
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
Allowing multi language support for spell check #78
Comments
I did it, check my repo for more information. |
Does #333 (specifying a custom CodeMirrorSpellChecker instance cover this use case? |
I think #333 will solve your issue, you can use it in the config like this: const editor = new EasyMDE({
spellChecker: (editor) => CodeMirrorSpellChecker({codeMirrorInstance: editor}),
}); Where The custom spellchecker functionality is currently available on the |
Hi, any news about this feature release? I need to use with a italian language/dict |
#333 was merged and released a while ago. That should allow you to change the spell checker for different languages. |
Hi, do you have a working example ? |
Is your feature request related to a problem? Please describe.
I find quite limitating the idea that the spellCheck (coming from CodeMirror SpellChecker ) should only be on the American English dictionary.
Describe the solution you'd like
How hard would it be to fork, take into account the changes from the actually open (and sadly stale) PR sparksuite/codemirror-spell-checker#39 adding multi-language support and depend on this library rather than the official spellChecker (which appears as stale as SimpleMDE) ?
An addition would be to, perhaps, make a map between locales and the dictionaries from titoBozout's repository so that we could simplify the spellChecker attribute to:
locale
(for managed dictionaries){aff: string, dic: string}
(for custom dictionary as is implemented in the PR linked above)EDIT
I went on and forked SpellChecker to start what I had in mind ! 😃 : https://github.com/TristanPouliquen/codemirror-spell-checker
The text was updated successfully, but these errors were encountered: