I don't have aspell or pspell on my server, so this is a static example of how to do spell checking with the Editor.
Currently the only 2 misspellings supported by this checker is Thsi
and tset
.
You will need to provide the backend spell check server (of your choice) and modify this code in the proper places (commented).