Open the Config.js in the CKEditor directory,
The code is as follows |
Copy Code |
Ckeditor.editorconfig = function (config) { }; |
Add the following code:
config.font_names= ' Arial/xxfareastfont-arial Bold/blackbody; imitation/imitation _gb2312; italics/italics _gb2312; XXFarEastFont-Arial/XXFarEastFont-Franklin, Microsoft Jache/Microsoft James Black; + Config.font_names;
You can use the Chinese font in the future.
About FCKeditor
FCKeditor is a WYSIWYG text editor that is specifically designed to be in the open source code on a Web page. It is focused on lightweight and does not require too complex installation steps to be used. It can be combined with different programming languages such as PHP, JavaScript, ASP, ASP.net, ColdFusion, Java, and ABAP. "FCK" in the name "FCKeditor" is the name of the author of this editor Frederico Caldeira knabben abbreviation
PS: note must be utf-8 the character code Oh, otherwise Chinese will display garbled.