CuteEditor 5.0 的使用

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)
posted on 2006-08-30 17:32 Steveson 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/Steveson/archive/2006/08/30/490584.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值