How to configure FCKeditor 2.6.3 in ASP. NET

Source: Internet
Author: User

Abstract: FCKeditor is a powerful open-source online text editor. It enables you to use many powerful functions similar to Microsoft Word desktop text editor on the web. This document uses fckeditor2.6.3 to introduce the configuration method in ASP. NET.
Difficulty: 10

FCKeditor is a powerful open-source online text editor (DHTML Editor). It enables you to use many powerful functions similar to Microsoft Word desktop text editor on the web. The latest version of FCKeditor is 2.6.3. This document describes how to configure fckeditor2.6.3 in ASP. NET.

FCKeditor official: http://www.fckeditor.net/download

Download from the official website
FCKeditor 2.6.3: fckeditor_2.6.3.zip 
FCKeditor. Net: fckeditor.net_2.6.3.zip  

The configuration method is as follows:
1. Delete unnecessary files

The size of fckeditor2.6.3 downloaded from the official website IS 3.81 MB (after decompression). In fact, many files only use ASP. net is not required. We can delete unnecessary files: Decompress fckeditor_2.6.3.zip to the FCKeditor folder of the corresponding project of vs2008, and delete the folders and files with _ in the folder together: 

1. The FCKeditor directory contains the editor directory, fckconfig. JS, and FCKeditor. jsFckstyles. xmlFcktemplates. XML is retained, and all others are deleted.

2. Delete all files except the aspx directory in the editor \ filemanager \ connectors directory

3. In the editor \ Lang directory, all except en. JS, Zh. JS, and zh-cn.js are deleted.

4. Delete the _ samples directory. If you want to see the example, do not delete the directory.

2. Download fckeditor.net_2.6.3.zip. Decompress the package and copy fredck. fckeditorv2.dll in Bin/release to the bin directory of the website or project. Select the ASP. NET version. 
3. Modify fckconfig. JS: 

Fckconfig. defaultlanguage = 'zh-cn ';  

VaR _ filebrowserlanguage = 'aspx ';  

VaR _ quickuploadlanguage = 'aspx '; 

4. Web. config Configuration: 

 <Deleetask> 

   <Add key = "FCKeditor: basepath" value = "~ /FCKeditor/"/> 
   <Add key = "FCKeditor: userfilespath" value = "~ /Upload/"/> 
   <! -- Configure the file configuration path in 2.6 --> 

 </Appsettings> 

5. Page call
<% @ Register Assembly = "fredck. fckeditorv2" namespace = "fredck. fckeditorv2" tagprefix = "fckeditorv2" %> 

<Fckeditorv2: FCKeditor id = "fckeditor1" runat = "server" toolbarset = "Basic"> </fckeditorv2: FCKeditor>
 

the value is fckeditor1.value.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.