That is all
There is already this addon, you can find it in Glutanimate patreon https://www.patreon.com/posts/spell-checker-v0-25369853
Also this: https://ankiweb.net/shared/info/1410276506 (Spelling Police)