codemirror-spell-checker
codemirror-spell-checker copied to clipboard
Include other languages and make it configureable
It would be nice if one could spell check different languages...
Found something interesting: http://stackoverflow.com/questions/30704264/how-to-access-chrome-spell-check-suggestions-in-javascript http://stackoverflow.com/questions/12040169/how-can-i-access-chromes-spell-check-dictionary https://src.chromium.org/viewvc/chrome/trunk/deps/third_party/hunspell_dictionaries/
In theory, all you'd need to do would be to download a different dictionary.
@jackycute I'm wondering if Chromium's dictionaries would be better than the ones used currently. I've noticed there are a number of words, abbreviations, etc. that are missing.
Yeah, I mean I might to do so.
The only thing I'm not satisfied with your dictionaries is that GitHub
and HackMD
are marked as error now. (Maybe camel case spell check is not working here)
But this is still a great repo, thank you @WesCossick !
I am looking to use your library in my own project, which is designed to be mulitlanguage. I only have 2 languages now(english and french), but it can be extended.
I want to use this project as a dependency (bower or npm).
I think that you can make this project configureable to use others dictionnaries like these ones: https://github.com/titoBouzout/Dictionaries or any others, so you don't need to maintain all the dictionnaries of the world, and we can use what we want (as dependencies).
It's a very good idea !
I'd vote for some standardized way to add custom words to the otherwise-standard dictionary it downloads. Like
"add_words": ["GitHub", "blahblahblah"]
Note to self... look into https://github.com/titoBouzout/Dictionaries
@chriscoyier definitely agree with you here. Adding an option to pass an array or "ignored words" or custom words would be the deal-breaker.
I'd also love to see support for other languages besides english added to codemirror-spell-checker. Cheers!
All the Popular Browsers can handel spell check so why not use this option?
http://caniuse.com/#feat=spellcheck-attribute
it looks like extremely easy to implement:
https://stackoverflow.com/questions/21306199/setting-spellcheck-language-in-google-chrome
or im wrong?
EDIT: I have found a previous discussion about Browser SpellChek: https://github.com/codemirror/CodeMirror/issues/1017
Never gonna happen. PR https://github.com/sparksuite/codemirror-spell-checker/pull/39 allowing this change has been sitting around unmerged for 6+ years.