For some reason I cannot get this to work.
<script type="text/javascript">
var oFCKeditor = new FCKeditor( '{NAME}' ) ;
oFCKeditor.BasePath = 'javascript/editors/FCKeditor/' ;
oFCKeditor.Config['CustomConfigurationsPath'] = 'javascript/editors/FCKeditor/custom.js';
oFCKeditor.Value = '{VALUE}';
oFCKeditor.Create() ;
</script>
The custom.js file:
FCKConfig.AutoDetectLanguage = false ;
FCKConfig.DefaultLanguage = 'fr' ;
I get a blank input without any js errors. The file is readable, in the correct directory. I can see in sample06.html that this is supposed to work but I can't recreate it. Any suggestions?
<script type="text/javascript">
var oFCKeditor = new FCKeditor( '{NAME}' ) ;
oFCKeditor.BasePath = 'javascript/editors/FCKeditor/' ;
oFCKeditor.Config['CustomConfigurationsPath'] = 'javascript/editors/FCKeditor/custom.js';
oFCKeditor.Value = '{VALUE}';
oFCKeditor.Create() ;
</script>
The custom.js file:
FCKConfig.AutoDetectLanguage = false ;
FCKConfig.DefaultLanguage = 'fr' ;
I get a blank input without any js errors. The file is readable, in the correct directory. I can see in sample06.html that this is supposed to work but I can't recreate it. Any suggestions?
RE: Using a custom config file
Answer