Open LeviRosol opened 6 years ago
curious if anyone else has gotten this to work?
Update on this: I was able to get spellcheck to sort of work. I now have the red squiggles on misspelled words, and I can get suggestions to show up in the context menu, however, I cannot get it to actually replace the word with the selected word.
When I get a moment, I'll post more on how I got it working this far.
Any updates? Could you share how you fixed this?
My code doesn't work:
import 'brace/ext/spellcheck'
// ...
editor.setOptions({
spellcheck: true
})
@LeviRosol Could you pls share how you get the red squiggles on misspelled words? I came across the same problem. Thanks~
I seem to be having good luck using most of the other extensions, but spellcheck seems to be the problem child. Using some google-fu I see others having issues with Ace, but most of those posts appear to be old, so I'm wondering if I'm simply missing something.
I have my require setup as needed:
require('brace/ext/spellcheck')
and I've enabled it:
editor.setOption('spellcheck', true);
But I see nothing in the browser. If it helps, I'm in markdown mode, and I've tested in Chrome and FF.
To clarify, I'm looking for browser driven spell checking. Red squiggles and right clicking to see suggestions.
thx!