another nice result of your "trick" is that spell check now automatically selects the correct language.
Here is another one:
Put before the java script part this:
Code: Select all
$toolbarcss = "../../".$pth['folder']['template']."stylesheet.css";
Code: Select all
oFCKeditor.Config["ToolbarComboPreviewCSS"] = \''.$toolbarcss.'\' ;
h1, h2, h3, h4 {bla bla}
h5 {bla}
h6 [bla}
to:
h1, h2, h3, h4, .SC_Item h1, .SC_Item h2, .SC_Item h3, .SC_Item h4 {bla bla}
h5 .SC_Item h5 {bla}
h6 .SC_Item h6 [bla}