fckeditor简要配置说明

来源:互联网 发布:初学者彩妆套装 知乎 编辑:程序博客网 时间:2024/05/01 00:36

1、把fckeditor文件夹放到项目下,及FredCK.FCKeditorV2.dll放到项目Bin目录下。

 

2、web.config配置
   <appSettings>
    <!--FCKeditor用户附件上传路径-->
    <add key="FCKeditor:UserFilesPath" value="Web/PublicSource/UpLoad/"/>
  </appSettings>

 

3、页面顶部配置
   <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>

 

4、页面使用位置配置
  <FCKeditorV2:FCKeditor ID="txtContents" runat="server" Height="550px" Width="450px" BasePath="~/fckeditor/" ToolbarSet="">      </FCKeditorV2:FCKeditor>

 

 

另有附件下载: 下载附件

原创粉丝点击