Suddenly working on Editor just produced. How?
Interesting that I did nothing different.
I just did the same as always and Voila it worked with the Styles as per the Image.
I changed no folders and nothing on the site.
All parameters were 100% the same but the Files produced were different.
01. The Toolbar Set Code is shown differently then on the Other Editors.
02. FCKConfig,XMLFileName is shown as (custom) and there is a (custom) next to the .XMLFullName as well.
Why is this ? When it is the Extension generating the code and files?
// Custom configuration for iRite
FCKConfig.XMLFullName = 'StandardTextEditor (custom)';
FCKConfig.XMLFileName = '(custom)';
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/silver/'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.DocType = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">';
FCKConfig.AutoDetectLanguage = true;
FCKConfig.DefaultLanguage = 'default';
FCKConfig.StartupFocus = false;
FCKConfig.FullPage = false;
FCKConfig.BaseHref = '';
FCKConfig.DefaultLinkTarget = '_blank';
FCKConfig.ToolbarSets["Custom"] = [
['Source'],
['Undo','Redo','RemoveFormat'],
['Cut','Copy','Paste','SpellCheck'],
['Image','Flash','Table','Rule','PageBreak'],
['Link','Unlink'],
'/',
['Style','FontFormat','FontName','FontSize'],
'/',
['Bold','Italic','Underline'],
['TextColor','BGColor'],
['OrderedList','UnorderedList','-','Outdent','Indent'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull']
]; /* Toolbar end */
FCKConfig.ForceStrongEm = false;
FCKConfig.FormatIndentator = ' ';
FCKConfig.EnterMode = 'br';
FCKConfig.FillEmptyBlocks = false;
FCKConfig.FormatOutput = false;
FCKConfig.FormatSource = false;
FCKConfig.IncludeGreekEntities = false;
FCKConfig.IncludeLatinEntities = false;
FCKConfig.ProcessHTMLEntities = false;
FCKConfig.ProcessNumericEntities = false;
FCKConfig.AdditionalNumericEntities = '';
FCKConfig.ForcePasteAsPlainText = false;
FCKConfig.CleanWordKeepsStructure = false;
FCKConfig.EditorAreaCSS = 'css/EditorHTML.css'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.BodyClass = 'body';
FCKConfig.StylesXmlPath = '../custom/Admin_Terms_Update_undefinedStyles1.xml'; // relative to fckeditor/editor/fckeditor.html
FCKConfig.ManagerEnabled = true;
if (true) {FCKConfig.Plugins.Add('kfm');}
I have just produced 4 Editors 3 of which did not take the styles and 1 which did.
I just copied the code to all the Editor .js files and of course they ALL work now.
How frustrating is this?
This is what I find confusing.
I had a similar issue yesterday with Digital File Pro 2.
It was simply not taking the Default File for data on Update.
Only when I manually hand coded it did it suddenly inexplicably start working for some reason via the Wizard. Its this kind of hit and miss thing that takes up time.
Actually even with DataAssist all pages work out fine but for some weird reason the RESULTS pages always without fail add Styles to the Head of the Document and confuse the page. I always have to go into the code and manually delete the block. Again it doesnt do this with Search, Update, Delete etc so why should it do it with Results?
I find this quite exasperating in the sense that sometimes you are not doing anything wrong, it just appears that the extension is being tempermental for want of a better word.
Well sorted out now at last.