Hi all,
I'm trying to create a custom skin with v3.01. To start I just copied the kama skin and renamed all occurrences of kama with "mycustomskin". This brings no joy... the editor refuses to load.
Debugging through the editor code the underlying problem appears to be in "loader.js", the loadPending function. Here's the relevant lines:
My "hack" was to comment out the CKEDITOR.env.ie check and replace it with "true" (and test this under IE8). Digging through the loader code I see that the scriptloader.js module is dependent on code/dom/element and core/env... so I'm thinking the fix for issue #4145 (per the comment) is perhaps incorrect because by the time this bit of code runs the env.js module has not been loaded.
Does anyone know if I'm even on the right track? I can't for the life of me figure out what's different about my "custom" skin (it really really is just kama with renames). If I make the above change then the editor loads and actually shows the custom skin (I can tell because I'd customized the packed version of Kama with new images but started my customization with the _source version).
Anyone?
Regards,
Rob
I'm trying to create a custom skin with v3.01. To start I just copied the kama skin and renamed all occurrences of kama with "mycustomskin". This brings no joy... the editor refuses to load.
Debugging through the editor code the underlying problem appears to be in "loader.js", the loadPending function. Here's the relevant lines:
// We must guarantee the execution order of the scripts, so we // need to load them one by one. (#4145) // The followin if/else block has been taken from the scriptloader core code. if ( true /*CKEDITOR.env.ie*/ ) {
My "hack" was to comment out the CKEDITOR.env.ie check and replace it with "true" (and test this under IE8). Digging through the loader code I see that the scriptloader.js module is dependent on code/dom/element and core/env... so I'm thinking the fix for issue #4145 (per the comment) is perhaps incorrect because by the time this bit of code runs the env.js module has not been loaded.
Does anyone know if I'm even on the right track? I can't for the life of me figure out what's different about my "custom" skin (it really really is just kama with renames). If I make the above change then the editor loads and actually shows the custom skin (I can tell because I'd customized the packed version of Kama with new images but started my customization with the _source version).
Anyone?
Regards,
Rob
Re: Creating a custom skin with v3.01... bug in loader.js?