.NET网站添加FckEditor的过程

xiaoxiao2024-10-18  8

1)在bin中加入动态连接 2)复制fckeditor 和File文件夹到项目的根目录下 3)在配置文件的<appSettings></appSettings>中加入 <!--发布的时候要改成:value="/Files/,FCK编辑器才能正常插入图片",如果在VS2005中运行则value="~/Files/"--> <!--文本编辑器上传获取路径--> <add key="FCKeditor:BasePath" value="~/fckeditor/"/> <!--文本编辑器路径--> <add key="FCKeditor:UserFilesPath" value="/Files/"/> 4)在页面中加入 <%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %> <FCKeditorV2:FCKeditor ID="txtFckAddContent" runat="server" Height="350px" Width="80%"></FCKeditorV2:FCKeditor> 5)后台取值 txtFckAddContent.Value
转载请注明原文地址: https://www.6miu.com/read-5018316.html

最新回复(0)