I am trying to use a css file named "home.css" in the editor using a Custom Config file.
Here is the code for the page with the editor
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( "fckeditor1" ) ;
oFCKeditor.BasePath = "/fckeditor/" ;
oFCKeditor.Config["CustomConfigurationsPath"] = "/nubi.js" ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
Here is the code for the custom config file named "nubi.js"
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + '../../css/home.css' ;
The path name is correct when I test it directly in fckconfig.js. I've never been able to get any Custom Configuration files to work. I always have to redo the fckconfig.js file.
Here is the code for the page with the editor
<script type="text/javascript">
window.onload = function()
{
var oFCKeditor = new FCKeditor( "fckeditor1" ) ;
oFCKeditor.BasePath = "/fckeditor/" ;
oFCKeditor.Config["CustomConfigurationsPath"] = "/nubi.js" ;
oFCKeditor.ReplaceTextarea() ;
}
</script>
Here is the code for the custom config file named "nubi.js"
FCKConfig.EditorAreaCSS = FCKConfig.BasePath + '../../css/home.css' ;
The path name is correct when I test it directly in fckconfig.js. I've never been able to get any Custom Configuration files to work. I always have to redo the fckconfig.js file.