SoFunction
Updated on 2025-04-12

FCKeditor 2.6.3 Configuration Description

It does not require any form of client installation, is compatible with most mainstream browsers, and supports programming environments such as ASP, ColdFusion, PHP, Java, Active-FoxPro, Lasso, Perl, and ython.

Official website/

Official Documentation/

Download address/download/
FCKeditor installation and configuration
Download 2 zip packages for FCKeditor2. and FCKeditor.NET2.63
(a) FCKeditor_2.6.3 is a resource file such as html files, Javascript files and pictures.
(b) FCKeditor.Net_2.6. is a control DLL file
Add a reference to FCKeditor to the project
1. Select Add Reference… on the project, find the Browse tag, and then locate the FredCK you unzipped, and confirm.
2. To facilitate RAD development, you can also add the FCKeditor control to the VS toolbox (Toolbox), expand the commonly used tag group (General) of the toolbox, right-click to select the component (Choose Items…), directly find the browsing button on the dialog box, locate FredCK., and then confirm.
3. Configure and add it in the <appSettings> node as follows:

Copy the codeThe code is as follows:

<appSettings>
<add key="FCKeditor:BasePath" value="~/Web/fckeditor/"/>
<add key="FCKeditor:UserFilesPath" value="~/Web/Upload/" />
</appSettings>

FCKeditor configuration:
Enter the FCKeditor folder and edit the file
1. Modification:
Copy the codeThe code is as follows:

var _FileBrowserLanguage = ‘php' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = ‘php' ; // asp | aspx | cfm | lasso | php

for:
Copy the codeThe code is as follows:

var _FileBrowserLanguage = ‘aspx' ; // asp | aspx | cfm | lasso | perl | php | py
var _QuickUploadLanguage = ‘aspx' ; // asp | aspx | cfm | lasso | php

2. Configuration language
Revise:
= ‘en' ;
Change to:
= ‘zh-cn' ;
3. Configure skins, including default, office2003, silver style, etc., and you can use the default.
= + 'skins/default/' ;
4. You can use the Tab key in the editor domain. (1 is yes, 0 is no)
= 0 ; Change to = 1 ;
5. Add several commonly used fonts:
= ‘Song font; bold font; official script; regular font_GB2312; Arial; Comic Sans MS; Courier New; Tahoma; Times New Roman; Verdana';
6. The default display font in the editor domain is 12px. If you want to modify it, you can achieve the requirements by modifying the style sheet. Open /editor/css/fck_editorarea.css and modify the font-size property.
7. About safety
If your editor is used in the foreground without authentication, it is recommended to use Basic toolbar
["Basic"] = [
['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','Image','-','About']
] ;
8. Click on the browse server in the upload file window, and the server didn't send back a proper xml..... The error message is because FCKeditor requires different types of files to be passed to different directories, including file, image, falsh, media and other directories. You can create them first and try it.
2.6 security configuration
File upload has always been an attack channel that is easy to exploit, haha, so I need to mention it here:
Open editor/filemanager/connectors/aspx/
Copy the codeThe code is as follows:

private bool CheckAuthentication()
{
//In order to prevent any user from opening the upload page or browsing the server file
//It is recommended to integrate this with your background management permissions. If you do not need verification, you can return true directly
//------------------------------------------------
//1. Suppose you use session to store user login verification information, and assume that the key of session is auth
// You need to return
//return (Session["auth"] != null && Session["auth"] == "Verification Value");
//2. If you use FORM verification method, you can verify it
//return ;
// WARNING : DO NOT simply return "true". By doing so, you are allowing
// "anyone" to upload and list the files in your server. You must implement
// some kind of session validation here. Even something very simple as...
//
//return ( Session[ "IsAuthorized" ] != null && (bool)Session[ "IsAuthorized" ] == true );
//
// ... where Session[ "IsAuthorized" ] is set to "true" as soon as the
// user logs in your system.
return true;
}

My instructions on Chineseization and use of the above section s