deesmateen / jquery-spellchecker

Automatically exported from code.google.com/p/jquery-spellchecker
0 stars 0 forks source link

Bad words show even after manually correcting the spellings #24

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Go to http://spellchecker.jquery.badsyntax.co.uk/
2. Select "Textarea Example"
3. Click "Check Spelling", bad words will be listed.
4. Now manually correct all the spelling mistakes.
5. Click "Check Spelling", notice that the bad words are still present.

What is the expected output? What do you see instead?
Bad words shouldn't be displayed after step 5.

What version of the product are you using? On what operating system?
Latest

Please provide any additional information below.
The fix would at the beginning of check function. 

check: function(callback){
         $(".spellcheck-badwords").remove();
........
........
........ 
}

This would ensure that the bad words container is always rebuilt.

Original issue reported on code.google.com by sarv...@iaimtomisbehave.org on 20 Jul 2011 at 6:49

GoogleCodeExporter commented 8 years ago
This issue is fixed in the latest version of the plugin, which can be found 
here: https://github.com/badsyntax/jquery-spellchecker

You can test this issue here: 
http://jquery-spellchecker.badsyntax.co/textarea.html

Original comment by willis...@gmail.com on 2 Nov 2012 at 8:37