'CKEDITOR only loads after onload even using CKEDITOR.replace()

I'm using CKEDITOR for my page, but the problem is CKEDITOR only loads after everythings are loaded(etc: img), even using CKEDITOR.replace('id').enter image description here

How can I run CKEDITOR right after document ready but not window onload?(I'm using jQuery)



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source