Only the original styles are in the styles drop down. Thanks in advance.
Here are some snippets:
var oFCKeditor = new FCKeditor( 'HTML' ) ;
oFCKeditor.BasePath = "../scripts/fckeditor/";
oFCKeditor.Height = 300 ;
oFCKeditor.Create();
config.js
************************
FCKConfig.EditorAreaCSS = FCKeditor_styles_path;
FCKConfig.StylesXmlPath = FCKeditor_styles_config_path;
styles_config.xml
************************
<Styles>
<Style name="productHeading" element="span">
<Attribute name="class" value="productHeading" />
</Style>
<Style name="product" element="span">
<Attribute name="class" value="product" />
</Style>
</Styles>
Here are some snippets:
var oFCKeditor = new FCKeditor( 'HTML' ) ;
oFCKeditor.BasePath = "../scripts/fckeditor/";
oFCKeditor.Height = 300 ;
oFCKeditor.Value = "<?= addcslashes($PG["HTML"], "\0..\37!@\@\177..\377\"") ?>" ;
FCKeditor_styles_path = "<?= $nqhomedir ?>styles/smileys.css";
FCKeditor_styles_config_path = "<?= $nqhomedir ?>config/FCKeditor/styles_config.xml";
oFCKeditor.Config["CustomConfigurationsPath"] = "<?= $nqhomedir ?>conf/FCKeditor/config.js";
oFCKeditor.Create();
config.js
************************
FCKConfig.EditorAreaCSS = FCKeditor_styles_path;
FCKConfig.StylesXmlPath = FCKeditor_styles_config_path;
styles_config.xml
************************
<?xml version="1.0" encoding="utf-8" ?>
<Styles>
<Style name="productHeading" element="span">
<Attribute name="class" value="productHeading" />
</Style>
<Style name="product" element="span">
<Attribute name="class" value="product" />
</Style>
</Styles>