Is there any reason - technical, legal (ie. licensing) or otherwise - why I shouldn't edit "fckeditor.html" (and "fckeditor.original.html") and move "LoadScript('../fckconfig.js')" and "LoadScript('editor/lang/en.js')" to load with the single packaged file rather than separately, then edit "fckpackager.xml" to add these two files and then use the packager to rebuild "fckeditorcode_ie.js" and "fckeditorcode_gecko.js".
Obviously I lose the ability to edit "fckconfig.js" and it only works with english but that is fine, that is all I want anyway (in fact, in a configuration file linked to via fckEditor.Config["CustomConfigurationsPath"] I even set "FCKConfig.AutoDetectLanguage = false" to make sure they will only ever use english).
But doing so means there are 2 less files that have to be loaded and there is another 30K worth of scripts that get's squashed/compressed, so it is worth doing. I have tried it and everything works fine as expected, so I can see no reason not to do this, but would like to be sure ...
Thanks!
Obviously I lose the ability to edit "fckconfig.js" and it only works with english but that is fine, that is all I want anyway (in fact, in a configuration file linked to via fckEditor.Config["CustomConfigurationsPath"] I even set "FCKConfig.AutoDetectLanguage = false" to make sure they will only ever use english).
But doing so means there are 2 less files that have to be loaded and there is another 30K worth of scripts that get's squashed/compressed, so it is worth doing. I have tried it and everything works fine as expected, so I can see no reason not to do this, but would like to be sure ...
Thanks!
Re: Adding "fckconfig.js" and "lang/en.js" t
The obvious reason why it isn't done that way is because as you have stated, now it isn't possible to support more languages or easily change the base configuration, but if you know that this is ok for you then go ahead and give it a try. Check loading times before and after the change and please report back anything else that you find.
Re: Adding "fckconfig.js" and "lang/en.js" t
I have tried and timed this and it works properly and the timings suggest that it is only very slightly faster, specifically the improvement in load time was sufficiently small on my test system (which has a fast broadband connection connecting to an adequately fast server) to be statistically insignificant.
However, logic suggests that it can only ever be faster and on a slow system users might appreciate that small increase in speed.
Re: Adding "fckconfig.js" and "lang/en.js" t
Re: Adding "fckconfig.js" and "lang/en.js" t