I'm developing an enhancement extension for a website. I use CKEditor to add a WYSIWYG editor to the forums.
However, I've noticed that CKEditor only loads after every resource (body onload) has loaded (body onload). Most people in the forums use 5MB+ GIFs, so this really affects the load time.
Since all the javascript files are in the extension, file sizes aren't the problem. I'm not using jQuery either.
Is it possible to alter CKEditor or something so it runs only when the DOM is loaded?
As @Reinmar suggested, I've used
CKEDITOR.replace()
and now I can load it before body onload.