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

Update CKEditor plugin.js to detect window border and set position #66

Open loule opened 10 years ago

loule commented 10 years ago

Like classic library, we look if the bottom of the window is not too close. If it is, we set the position above.

It's a problem if the CKEditor is really near the window border. Could be improved with sides detection and offset.

loule commented 10 years ago

Not sure if the code works nicely, seems to have some problems randomly, but the idea is to get the same system as the classic library. hope you understand what i mean...