badsyntax / jquery-spellchecker

[not maintained] A lightweight jQuery plugin that can check the spelling of text within a form field or DOM tree.
http://jquery-spellchecker.badsyntax.co
MIT License
257 stars 113 forks source link

Store ignored words in sessionStorage #42

Closed robmcvey closed 7 years ago

robmcvey commented 11 years ago

Problem

The user runs spell check, and ignores a word. They then continue to type and run the spell check again, the same words they've already ignored will be flagged again.

Proposed Solution

Stores ignore words in the DOM sessionStorage object and remove from mis-spells list when the spell check is run. The isn't permanent storage, once the browser is closed completely these will be lost but I think permanently storing them might be an issue.

Other

Also removed some stray div tags from the examples, and ignored OSX hidden files