Excuse the butting in, - just a couple of thoughts,
Hi Phil,
Looking at your news_Update_strap1.js, it doesn't look as if your added styles are being recognised. You would typically expect to see changes that indicate that the added styles have been recognised by the iRite or HTMLEditor.
The first indication would be immediately after the remarked out opening '// Custom configuration . . .' line, showing the custom configuration XML details, something like:
// Custom configuration for iRite
FCKConfig.XMLFullName = 'Advanced Manager Enabled (custom)';
FCKConfig.XMLFileName = '(custom)';
The other indications would be that three lines at or near the end of the javascript should show the relative paths to your css and xml files, again something like:
FCKConfig.EditorAreaCSS = '../../css/styles.css'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.BodyClass = 'bodyCMS';
FCKConfig.StylesXmlPath = '../custom/news_Update_your_custom_instance_name1.xml'; // relative to fckeditor/editor/fckeditor.html
(The middle line would refer to a style from your css that you specified while adding styles in the editor instance (if you did) that reflect your site's body styles).
[Also, one thing that escaped me for a while was that - although my styles showed up in the 'Available styles' window - I didn't realise that I had to actually select them (so they were highlighted blue) before clicking the OK button.]
When you customise an Editor instance, a new xml file is created in the 'custom' folder, its name incremented by 1 (each time the instance is reconfigured). If your styles were added, they will each have a new node with their values in the new xml file. Are they showing up in your new custom/your_new_xmlfile(n).xml file?
Hi Dorothy,
Is your Editor instance one that you've added to a form, or is it part of a WebAssist solution (PowerCMS, PowerStore)? Do your styles show up in your xml file, and do the lines in your javascript file look a bit like the examples above?
Perhaps if you could (both) also post links to your current (custom/) javascript and xml files, there may be more to go on.