How to change the language of FCKeditor?

Questions about how to use the online - editors and suggestions how to improve them
svasti
Posts: 1649
Joined: Wed Dec 17, 2008 5:08 pm

Re: How to change the language of FCKeditor?

Post by svasti » Sat Aug 20, 2011 1:03 pm

Hello Christoph,

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";
and in the java script part this:

Code: Select all

oFCKeditor.Config["ToolbarComboPreviewCSS"] = \''.$toolbarcss.'\' ;
and in your stylesheet.css change all
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}

Post Reply