zoukankan      html  css  js  c++  java
  • CuteEditor使用方法

    CuteEditor

    CuteEditor 5.0 破解版的下载地址是:http://www.seaskyer.net/
    CuteEditor 5.0 演示地址:http://wap.seaskyer.net/CuteEditor/vb/
                优点:配置简单,功能强大
                其他在线编辑器: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)

  • 相关阅读:
    Visual Studio 和 c# 正则表达式
    程序员DD 《Spring boot教程系列》补充
    c# 多线程编程中AutoResetEvent和ManualResetEvent
    c# 事件和EventManager
    卸载重装Mysql
    c# 语法要点速览
    在高分屏正确显示CHM文件
    ss user-rule自定义规则并硬连接到OneDrive进行自动同步
    利用webmagic获取天猫评论
    使用Selenium对新浪微博模拟登录
  • 原文地址:https://www.cnblogs.com/wenming205/p/1230152.html
Copyright © 2011-2022 走看看