分享

CuteEditor6.4安装部署详解

 liuyci 2011-03-16
部署步骤(基本不变,.NET1.1和2.0版本部署基本一致):

1. 安装CuteEditor assembly 文件和license文件(共4个)
  拷贝以下文件到您网站的bin文件夹下
  CuteEditor.dll 
    CuteEditor.ImageEditor.dll 
    NetSpell.SpellChecker.dll 
    CuteEditor.lic (license文件)

2.拷贝CuteEditor 客户端文件
  拷贝“CuteSoft_Client”文件夹到您的网站目录下(根目录),大约有4.57MB(.NET 2.0版本)。

3.复制样式css文件到您网站的根目录
example.css

4.增加httpModule 到您的web.config中

(1)IIS 5.0, 6.0 和 IIS 7.0 标准模式(Classic mode)
<configuration>
  <system.web>
    <httpModules>
      <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/>
    </httpModules>
  </system.web>
</configuration>

(2)IIS 7.0集成模式(Integrated mode)
<configuration>
  <system.webServer>
    <modules>
      <add name="CuteEditor.UploadModule" type="CuteEditor.UploadModule,CuteEditor"/>
    </modules>
  </system.webServer>
</configuration> 

5.注册CuteEditor到您的页面
如下:
<%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %> 
<CE:Editor ID="Editor1" runat="server" FilesPath="/cutesoft_client"  
              EditorWysiwygModeCss="~/example.css"  Height="486" Width="99.5%"   
              EnableViewState="False" 
           EditCompleteDocument="True" AutoConfigure="Full" 
           AllowEditServerSideCode="True" CssClass="TextBoxCss" CultureType="Server" 
           CustomCulture="zh-CN">
             </CE:Editor>

    本站是提供个人知识管理的网络存储空间,所有内容均由用户发布,不代表本站观点。请注意甄别内容中的联系方式、诱导购买等信息,谨防诈骗。如发现有害或侵权内容,请点击一键举报。
    转藏 分享 献花(0

    0条评论

    发表

    请遵守用户 评论公约

    类似文章 更多