CutEditor在线编辑器的使用

CutEditor在线编辑器的使用

CutEditor的使用方法如下:

1)在把压缩文件中BIN目录中 的CutEditor.dll、CutEditor.ImageEditor.dll、CuteEditorWeb.dll、 NetSpell.SpellChecker.dll、CuteEditor.lic、Seaskyer.WebApp.Utility.dll.放到项 目文件BIN文件夹中,并且要他,如果不全部会出错。
2)把CuteSoft_Client文件夹复制到根目录,里面是需要的一些图片和配置文件。
3)在根目录下建立UPLOADS文件夹,此文件夹的名称可以根据需要改的。
4)在选项卡上添加项,把CutEditor.dll添加到选项卡上面,会出现一个editor的控件。直接把editor控件拖到页面上就可以使用了,非常方便。主要属性在属性栏目里面都可以设置,下面几点是对editor进行后台配置的,非常有用。
5)CuteSoft_Client\CuteEditor \Configuration\Security下的三个CONFIG文件可以配置上传限制等等,这里设置了管理员、自定义、还有访客三种模式,有各自的 上传限制,非常方便,非常灵活,这是我选用他,弃用FREETEXTBOX的主要原因
6)CuteSoft_Client\CuteEditor\Configuration\AutoConfigure下的CONFIG文件可以配置显示模式。
5、6均在属性中修改,5直接填写CONFIG名称,6有选择下拉条。

你 也许会出现: "A   valid   license   cannot   be   granted   for   the   type   CuteEditor.Editor…… "的授权提示出错,那你必须把CuteEditor.lic文件复制到网站根目录的bin目录下面。就可以解决授权问题。    在web.config中也必须加上<add assembly="CuteEditor" namespace="CuteEditor" tagPrefix="CE"/>进行使用注册

 

不足补充:

 

使cuteeditor支持中文上传
      CuteEditor是个非常强大的编辑器,不过也有不尽任意的地方,例如上传不支持中文,不过也有方法解决。
      打开CuteSoft_Client\CuteEditor\Configuration\Security \Default.config文件
      找到
      
< security name = " filenamePattern " />

 

      把他改成
      
< security name = " filenamePattern " >^ [a - zA - Z0 - 9 \._\s - \u4e00 - \u9fa5] + $ </ security >

 

 
 
补充:
使用CuteEditor时有时会出现  "文本内容中出现无效字符"   的提示框 ,虽然不影响使用,但也不好看!
解决方法:
一>.
只需在web.config中将编码改为"utf-8"就可以:
<system.web>节点下加入
< globalization requestEncoding = " UTF-8 " responseEncoding = " UTF-8 " />

 

二>.
将 CuteSoft_Client/CuteEditor/Configuration/Shared/Common.config 文件中的  <contextmenus>...</contextmenus>  节全部注释
上面两种方法都可以解决  "文本内容中出现无效字符"  提示框的问题,但不确定之后会出现什么其他问题。

 

转载于:https://www.cnblogs.com/licuihua/archive/2013/04/08/3006635.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
CuteEditor for ASP.NET中文版是建立在Html基础之上,最简单易用、功能最强大的所见即所得Asp.net在线编辑器。 CuteEditor可以帮助Asp.net开发者轻松的对原来文本框(Textarea)中的内容(包括文字、图片等Html内容)进行编辑,更重要得是这些内容编辑的实现是所见即所得方式。 CuteEditor还集成了文件(包括图片、文档等)上传、媒体(包括视频、声音等,支持YouTube)文件直接插入等对你来说非常实用的功能模块。 对于商业授权用户,他们以完全自己进行操作升级和安全维护,我们制定了多种授权方式供广大用户选择。 CuteEditor功能特点 是什么使CuteEditor成为Html在线编辑器的领航者?除了其强大的功能和方便的使用, 这里还有一些顶尖的技术因素是CuteEditor编辑器成为你编辑和发布Web内容的最佳选择: 跨浏览器、跨平台的所见即所得网页编辑器 Compatible with the most important browsers available in the market: IE 5.5+, Firefox 1.0+, Mozilla 1.3+, Netscape 7+, Chrome and Safari (1.3+). This includes Macintosh and Linux. 界面简洁加载速度快 Numerous optimization methods has been applied. It's clean, compact, extremely fast-loading, but still powerful and efficient. CuteEditor遵循Web标准,没有类似 这种标签 Does your online html editor still use deprecated tags such as <FONT>? Cute Editor will help you build sites that adhere to the latest HTML standards, generates clean HTML/XHTML code with no deprecated tags. 能自动清理HTML代码中Word标记 When text is pasted from Microsoft Word allot of unnecessary word specific markup is carried across. This can result in web pages that take an unnecessarily long time to download. The Paste from Word button solves this by removing word markup before pasting the text into your page. 对于开发人员来说简单易用 The perfect addition to your content management system! Only a couple lines of code , you don't need to be an expert. Allows you to add an online HTML editing functionality that works with standard HTML form. 很容易用API隐藏按钮和Tabs标记 Cute Editor allows developers to set the image directory, set the controls width, disable image uploading and deleting, restrict access to the source/preview tabs, hide buttons and lists that you don't want your clients to see or access. 高级表格管理 Create and modify tables and table cells. Set their border color, alignment, cellspacing and more! Once you've created a table, simply right click inside of it and use the handy popup menu to change its attributes. <caption>,<summary>,<thead>,<tfoot>,<th> tags are supported. 图片插入和自动上传 Built-in thumbnail generator. Thumbnail images are dynamically created; Supports upload new images. Paging - specify how many images. Support auto resize images. 用模板来管理内容 The basic idea behind a Content Management System (CMS) is to separate the management of content from design. Cute Editor allows the site designer to easily create and establish templates to give the site a uniform look. Templates may be modified when desired. 在线图像编辑 People that input content on a website are generally not web designers, so most don't have that design & technical fibre in them. With online image editor, you can now edit image file with no image editing software to download or install! Easy drag and drop familiar interface. Resize, change dimensions, scale, crop, add text, optimize, rotate, flip, mirror and add watermark. 把图片存储于数据库中 With CuteEditor you can easily use a Sql Server database or access database as the file storage. RTF到HTML的相互转换 With CuteEditor you can easily convert an HTML document into an RTF file and RTF file into HTML or XHTML document. 创建PDF文件 CuteEditor also allows you dynamically create Adobe PDF documents from ASP.NET. 高级文件上传模式 We integrate a hi-performance ASP.NET upload component - Ajax uploader into Cute Editor. Ajax Uploader allows you to select and upload multiple files at once. It also supports client side validation of the file size/type before uploading.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值