Function to show spelling errors in textarea (without turning on SpellCheckAsYouType )

23 views
Skip to first unread message

KC

unread,
Jan 13, 2017, 7:00:21 AM1/13/17
to JavaScriptSpellCheck
When we have SpellCheckAsYouType turned on, the keypress event seems to conflict with our own keypress event. I thought I could get around this by adding a call to the spell check code in our event but have been unable to work out what I should be calling.

Is there a function I can call to spellcheck a textarea so the red squiggly underlines appear (I do not want to show the spell check window)?

Thanks

Live Spell

unread,
Jan 18, 2017, 2:20:54 AM1/18/17
to KC, JavaScriptSpellCheck
Interestingly we have a new feature for just that:

var myspell = $Spelling.SpellCheckAsYouType('all');

myspell.PauseAsYouType()   // pauses all spellchecker
myspell.ActivateAsYouType()   // starts all spellchecker


T Zainab Kemsley - Production Team Leader @JavaScriptSpellCheck

--
You received this message because you are subscribed to the Google Groups "JavaScriptSpellCheck" group.
To unsubscribe from this group and stop receiving emails from it, send an email to javascriptspellc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages