Hi,
This is the first time I user FCKEditor, so I don't know if I am missing a point in the docs or is this a bug in the editor.
I am trying to assign a custom CSS file to be used in the editor, but the styles list shows nothing.
I am loading the editor this way, in a PHP file :
In my editor_config.js I added this line to override the CSS styles file :
But this doesn't work! any idea please ?
This is the first time I user FCKEditor, so I don't know if I am missing a point in the docs or is this a bug in the editor.
I am trying to assign a custom CSS file to be used in the editor, but the styles list shows nothing.
I am loading the editor this way, in a PHP file :
<script type="text/javascript"> var editor = new FCKeditor('content'); editor.BasePath = "<?=$root?>/js/fckeditor/"; editor.Config["CustomConfigurationsPath"] = "<?=$root?>/js/editor_config.js" ; editor.Value = '<?=nonl($mod_news->content) ?>' ; editor.Height = 600 ; editor.Create(); </script>
In my editor_config.js I added this line to override the CSS styles file :
FCKConfig.StylesXmlPath = '' ; FCKConfig.TemplatesXmlPath = '' ; FCKConfig.CustomStyles = ''; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/cms.css' ;
But this doesn't work! any idea please ?