FCKeditor.NET 2.5使用说明

下载FCKeditor.Net_2.5.zip和FCKeditor_2.5.1.zip

1.添加对FredCK.FCKeditorV2.dll的引用

2.将FCKeditor_2.5.1.zip中的FCKEditor拷贝到某处

3.Web.config的修改   <appSettings>     <add key="FCKeditor:BasePath" value="~/fckeditor/"/> //FCKEditor的路径     <add key="FCKeditor:UserFilesPath" value="~/Files/" /> // 上传文件夹的路径   </appSettings>

4.修改fckeditor/editor/filemanager/connectors/aspx下的config.ascx  private bool CheckAuthentication()  {   // 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;//原来是return false;  }

5.修改fckeditor/fckconfig.js var _FileBrowserLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py var _QuickUploadLanguage = 'aspx' ; // asp | aspx | cfm | lasso | perl | php | py

Version 2.5<br>Attention : This version is not compatible with releases before FCKeditor 2.5.1.<br><br>New Features and Improvements:<br><br>[#1548] Compatible with Safari 3.0+ and Opera 9.50+. <br>Added specific project files for Visual Studio .NET 2003 and Visual Studio 2005. It's easier now to open the source in your preferred environment. Builds will end up in the "1.1" (VS2003) and "2.0" (VS2005) folders inside bin/Debug and bin/Release. <br>[#79] The BasePath property now defaults to "/fckeditor/" ("/FCKeditor/" previously). <br>[#79] Introduced the FCKeditor.IsCompatibleBrowser static function, to check if the requesting browser is compatible with FCKeditor. <br>[#79] Introduced the FCKeditor.CreateHtml function, which returns the HTML needed to create an editor instance in the page. <br>[#294] The HtmlEncodeOutput setting is enforced by the editor component, to avoid having to set ValidateRequest="false" on pages using the editor. <br>Several changes to the File Browser and Uploader:<br>Several security checks have been introduced. Upgrading is hightly recommended. <br>The code has been reviewed according to our standards, aligning the FCKeditor.Net File Browser to the same quality and feature level present in other server language implementations of it, like the PHP implementation. <br>The connector can now be fully configured by using the "editor/filemanager/connectors/aspx/config.ascx" file, available with FCKeditor 2.5.1. <br>For file uploads, the file extension is precisely controlled in a list defined in the config.ascx file. <br>It is possible to define different folder locations for each file type. <br>Attention : For security, the connector must be explicitly activated, by setting "Enabled = true" in the config.ascx file. <br>Attention : The default connector path has been changed to "/userfiles/", instead of "/UserFiles/". This change should not impact Windows installations. <br>
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值