Using current CMSMS 1.0.3 and FCKEditor.
Have tried using the EditorAreaCSS config item to specify a stylesheet to use to display stuff in the editing window so it looks similar to my site (NB this is NOT trying to put styles into the style dropdown in the toolbar).
After many hours trying various config files and locations, I have still had no luck.
Is this feature broken? If not, can anyone shed any light on the correct syntax, file to edit etc.
Thanks in advance
Tony Stratford
FCKeditor - show site style formats
-
marcgeldon
- Forum Members

- Posts: 45
- Joined: Mon Aug 14, 2006 1:13 pm
Re: FCKeditor - show site style formats
I have the same problem and currently I have also no solution for this.
Re: FCKeditor - show site style formats
FCK editing area takes the styles from the stylesheets attached to the page being edited.
This is organised through
/modules/FCKeditorX/fck_editorarea.css.php
FCK's own area css at
\modules\FCKeditorX\FCKeditor\editor\css\fck_editorarea.css
is not used.
If you wanted to use this for some reason and add css styles manually you can change the following code in
/modules/FCKeditorX/FCKeditorX.module.php from
to
the same can be done if you wanted to add styles manually by reconfiguring the 'StylesXmlPath'
This is organised through
/modules/FCKeditorX/fck_editorarea.css.php
FCK's own area css at
\modules\FCKeditorX\FCKeditor\editor\css\fck_editorarea.css
is not used.
If you wanted to use this for some reason and add css styles manually you can change the following code in
/modules/FCKeditorX/FCKeditorX.module.php from
Code: Select all
$oFCKeditor->Config['EditorAreaCSS'] = $this->cms->config["root_url"].'/modules/FCKeditorX/fck_editorarea.css.php?id='.$templateid ;
Code: Select all
$oFCKeditor->Config['EditorAreaCSS'] = $this->cms->config["root_url"].'/modules/FCKeditorX/FCKeditor/fck_editorarea.css' ;