• 大小: 3.50M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-26
  • 语言: C#
  • 标签: 编辑器  

资源简介

ueditor编辑器含有如下功能:

全屏源码撤销重做无序列表有序列表取消超链接超链接清空文档全选打印查询替换预览
Google地图百度地图百度应用分页图片涂鸦音乐附件截图表情视频插入Iframe模版背景日期时间图片转存水平线锚点特殊字符引用插入代码
加粗斜体下划线删除线文字颜色背景颜色上标下标居左对齐居中对齐居右对齐两端对齐字母大写字母小写从左向右输从右向左输首行缩进清除格式格式刷自动排版纯文本粘贴自定义样式段落格式段前间距段后间距行间距字体字号图片默认图片居左图片居右图片居中
插入表格删除表格右合并单元格下合并单元格拆分成行拆分成列拆成单元格合并单元格前插入列前插入行删除列删除行表格前插行
自动聚焦工具栏浮动字数统计表情本地化自动清除自动长高元素路径图片浮层纯文本粘贴源码高亮右键菜单

而且可以自定义插件 二次开发

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Web;
using System.IO;
using System.Collections;


/// 
/// UEditor编辑器通用上传类
/// 

public  class Uploader
{
     string state = “SUCCESS“;

     string URL = null;
     string currentType = null;
     string uploadpath = null;
     string filename = null;
     string originalName = null;
     HttpPostedFile uploadFile = null;

    /**
  * 上传文件的主处理方法
  * @param HttpContext
  * @param string
  * @param  string[]
  *@param int
  * @return Hashtable
  */
    public  Hashtable upFile(HttpContext cxt string pathbase string[] filetype int size)
    {
        pathbase = pathbase + DateTime.Now.ToString(“yyyy-MM-dd“) + “/“;
        uploadpath = cxt.Server.MapPath(pathbase);//获取文件上传路径

 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2013-01-31 18:18  ueditor1_2_5_1-utf8-net\
     目录           0  2013-01-29 15:23  ueditor1_2_5_1-utf8-net\build\
     文件        1742  2013-01-29 15:23  ueditor1_2_5_1-utf8-net\build\build_editor_css_all.js
     文件        1749  2013-01-29 15:23  ueditor1_2_5_1-utf8-net\build\build_editor_js_all.js
     文件      871260  2013-01-29 15:23  ueditor1_2_5_1-utf8-net\build\js.jar
     文件         306  2013-01-29 15:23  ueditor1_2_5_1-utf8-net\build\merge.bat
     文件      852834  2013-01-29 15:23  ueditor1_2_5_1-utf8-net\build\yuicompressor-2.4.6.jar
     文件       12830  2013-01-30 11:05  ueditor1_2_5_1-utf8-net\CHANGELOG.TXT
     目录           0  2013-01-31 16:51  ueditor1_2_5_1-utf8-net\dialogs\
     目录           0  2013-01-23 19:44  ueditor1_2_5_1-utf8-net\dialogs\anchor\
     文件        1627  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\anchor\anchor.html
     目录           0  2013-01-23 19:44  ueditor1_2_5_1-utf8-net\dialogs\attachment\
     文件        2602  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\attachment.css
     文件        6248  2013-01-10 16:54  ueditor1_2_5_1-utf8-net\dialogs\attachment\attachment.html
     文件        6009  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\callbacks.js
     目录           0  2013-01-23 19:44  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\
     文件         923  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_chm.gif
     文件         841  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_default.png
     文件        1012  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_doc.gif
     文件         949  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_exe.gif
     文件         986  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_mp3.gif
     文件        1001  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_mv.gif
     文件         996  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_pdf.gif
     文件        1001  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_ppt.gif
     文件        1009  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_psd.gif
     文件        1007  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_rar.gif
     文件         970  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_txt.gif
     文件        1005  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeImages\icon_xls.gif
     文件         747  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\attachment\fileTypeMaps.js
     目录           0  2013-01-23 19:44  ueditor1_2_5_1-utf8-net\dialogs\background\
     文件        1102  2012-11-29 12:36  ueditor1_2_5_1-utf8-net\dialogs\background\background.css
............此处省略315个文件信息

评论

共有 条评论