Open loule opened 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.
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...
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.