CuteEditor
5.0
破解版的下载地址是
:http://www.seaskyer.net
CuteEditor 5.0 演示地址: http://wap.seaskyer.net/CuteEditor/vb/
一篇比较好的文章: CuteEditor 5.0的安装及它与Ajax.net配合无刷新操作数据库!
优点:配置简单,功能强大
其他在线编辑器: FCKeditor , WebHtmlEditor , FTB , RichTextBox
CuteEditor 5.0 的安装
步骤: 1 、将 CuteEditor 文件夹下 bin 文件夹里的 CuteEditor.dl , CuteEditor.lic , CuteEditor.ImageEditor.dll ( 5.0 增加的 EditorImage 功能)拷到项目的 bin 目录下。如果需要拼写检查功能则还要拷 NetSpell.SpellChecker.dll ,并修改 web.config 文件,如下
<appSettings>
<add key="DictionaryFolder" value="bin"/>
</appSettings>
( “.dic” 为扩展名的文件是词典保存为纯文本文件的格式。将 bin 文件夹里的都拷到项目的 bin 目录下也可以)
2 、将 CuteEditor 文件夹下 CuteSoft_Client 文件夹全部拷贝到应用程序的根目录下,并在项目根目录下建立一个 uploads 文件夹 .
3 、打开 VS, 在工具栏上点击右键 - 添加 / 移除项 , 在自定义工具箱中的 .NET Framework 组件 , 流览将 bin 文件夹下的 cuteEditor.dll 文件引用,将 Editor 拖到页面即可
CuteEditor 5.0属性设置
1、插入数据库:Editor1.Text
2、文件夹设置: Imports System.IO(引入命名空间)
Dim str As String = Session("UserName")
Dim path As String = "~/UploadFile/" + str + ""
Dim fullPath As String
fullPath = Server.MapPath("UploadFile\") + str
**判断以UserName命名的文件夹是否存在,不存在则创建以UserName命名的文件夹
If Not Directory.Exists(fullPath) Then
Directory.CreateDirectory(fullPath)
End If
**将默认路径uploads改为“path”所表示的路径
Editor1.SetSecurityGalleryPath(path)
3、按纽设置:* 属性----外观----AutoConfigure
* 代码 Editor1.AutoConfigure = AutoConfigure.Simple
* CuteEditor文件夹HowTo目录下的AddButton例子
4、上传文件大小设置(以flash为例):Dim kb As Int32 = 200
Editor1.SetSecurityMaxFlashSize(kb)
CuteEditor 5.0 演示地址: http://wap.seaskyer.net/CuteEditor/vb/
一篇比较好的文章: CuteEditor 5.0的安装及它与Ajax.net配合无刷新操作数据库!
优点:配置简单,功能强大
其他在线编辑器: FCKeditor , WebHtmlEditor , FTB , RichTextBox
CuteEditor 5.0 的安装
步骤: 1 、将 CuteEditor 文件夹下 bin 文件夹里的 CuteEditor.dl , CuteEditor.lic , CuteEditor.ImageEditor.dll ( 5.0 增加的 EditorImage 功能)拷到项目的 bin 目录下。如果需要拼写检查功能则还要拷 NetSpell.SpellChecker.dll ,并修改 web.config 文件,如下
<appSettings>
<add key="DictionaryFolder" value="bin"/>
</appSettings>
( “.dic” 为扩展名的文件是词典保存为纯文本文件的格式。将 bin 文件夹里的都拷到项目的 bin 目录下也可以)
2 、将 CuteEditor 文件夹下 CuteSoft_Client 文件夹全部拷贝到应用程序的根目录下,并在项目根目录下建立一个 uploads 文件夹 .
3 、打开 VS, 在工具栏上点击右键 - 添加 / 移除项 , 在自定义工具箱中的 .NET Framework 组件 , 流览将 bin 文件夹下的 cuteEditor.dll 文件引用,将 Editor 拖到页面即可
CuteEditor 5.0属性设置
1、插入数据库:Editor1.Text
2、文件夹设置: Imports System.IO(引入命名空间)
Dim str As String = Session("UserName")
Dim path As String = "~/UploadFile/" + str + ""
Dim fullPath As String
fullPath = Server.MapPath("UploadFile\") + str
**判断以UserName命名的文件夹是否存在,不存在则创建以UserName命名的文件夹
If Not Directory.Exists(fullPath) Then
Directory.CreateDirectory(fullPath)
End If
**将默认路径uploads改为“path”所表示的路径
Editor1.SetSecurityGalleryPath(path)
3、按纽设置:* 属性----外观----AutoConfigure
* 代码 Editor1.AutoConfigure = AutoConfigure.Simple
* CuteEditor文件夹HowTo目录下的AddButton例子
4、上传文件大小设置(以flash为例):Dim kb As Int32 = 200
Editor1.SetSecurityMaxFlashSize(kb)