优势:
CuteEditor功能特点
-
跨浏览器、跨平台的所见即所得网页编辑器
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.
用法:
1、拷贝文件
(1)将CuteEditor、Bin文件夹下的:
CuteEditor.dll
CuteEditor.lic(解密文件)
CuteEditor.ImageEditor.dll (5.0增加的EditorImage功能)
NetSpell.SpellChecker.dll(拼写检查功能)
拷贝到项目的Bin目录下。
注:(“.dic”为扩展名的文件是词典保存为纯文本文件的格式。将bin文件夹里的都拷到项目的bin目录下也可以)
(2)将CuteSoft_Client文件夹及文件拷贝到项目的相应目录。
注:FilesPath用来设置所对就的目录,如:
FilesPath=”~/admin/CuteSoft_Client/CuteEditor/”
(3)把example.css文件拷贝到相应目录,并设置EditorWysiwygModeCss属性。如:EditorWysiwygModeCss=”/admin/CuteSoft_Client/CuteEditor/themes/example.css
综合设置如下:
<CE:Editor ID=”Editor1″ runat=”server” FilesPath=”~/admin/CuteSoft_Client/CuteEditor/” EditorWysiwygModeCss=”/admin/CuteSoft_Client/CuteEditor/themes/example.css”> </CE:Editor>
2、修改Web.config文件
<appSettings>
<add key=”DictionaryFolder” value=”bin” />
</appSettings>
<system.web>//注本节代码在.net2.0下是否需要设置,本人未验证。
<browserCaps>
tagwriter=System.Web.UI.HtmlTextWriter
</browserCaps>
</system.web>
3、引用:
·<%@ Register Assembly=”CuteEditor” Namespace=”CuteEditor” TagPrefix=”CE” %>
·<CE:Editor ID=”ce1″ runat=”server” FilesPath=”~/admin/CuteSoft_Client/CuteEditor/” EditorWysiwygModeCss=”~/Admin/CuteSoft_Client/CuteEditor/Themes/example.css” ThemeType=”Office2003_BlueTheme” >
</CE:Editor>
注:
可修改CuteSoft_Client\CuteEditor\Configuration\AutoConfigure文件夹下的文件,改便CuteEditor工具栏按钮的显示或排列。
可修改文件CuteSoft_Client\CuteEditor\Configuration\Shared\Common.config来添加字体。