By default, FCKeditor cannot use the Chinese font when making text edits.
Groping for myself, the solution is as follows:
Open Fckconfig.js File
Locate the following line:
Fckconfig.fontnames = ' Arial; Comic Sans MS; Courier New; Tahoma; Times New Roman; Verdana ';
Modify it to:
Fckconfig.fontnames = ' XXFarEastFont-arial bold; XXFarEastFont-Arial _gb2312; imitation _gb2312; Arial; Comic Sans MS; Courier New; Tahoma; Times New Roman; Verdana ';
When, this is still not, although found that the editor's font options have been added to the Chinese font, but applied to the text but found no effect!
Next step:)
Open EDITOR/CSS Tutorial/fck_editorarea.css file
Will:
Font-family:arial, Verdana, Sans-serif;
Modified to:
font-family: XXFarEastFont-Arial, blackbody, XXFarEastFont-Arial, italics, imitation, Verdana, Sans-serif;
Save, refresh will be able to use the Chinese font.
Solution with invalid Chinese font
,
Find the FCK version of the configuration file should be/config.js, the same way, the code add location does not matter, to ensure that your grammar is OK, refresh,
Config.font_names = ' Arial/xxfareastfont-Arial/blackbody; imitation/imitation _gb2312; italics/italics _gb2312; XXFarEastFont-Arial/XXFarEastFont-Franklin, Microsoft Jache/Microsoft James Black; + Config.font_names;
This is the KO.
Footnote:
Fckconfig.defaultlanguage = ' ZH-CN ';
First disable automatic language detection, and then the default language from en modified to ZH-CN, pay attention not to change into Zh,zh is traditional, ZH-CN is simplified, in this despise fckeditor the cart before the horse