xhEditor for .net (支持上传,远程抓图)
来源:互联网 发布:阿里购买域名之后 编辑:程序博客网 时间:2024/06/05 00:29
xhEditor开源HTML编辑器,精简迷你,使用简单,支持Word,基于jQuery,Ajax上传,远程抓图……
For .Net:
配置:
<asp:TextBox ID="txtnewsContent" runat="server" TextMode="MultiLine"></asp:TextBox>
<script src="../Scripts/jquery-1.6.2.min.js" type="text/javascript"></script<script src="../xheditor/xheditor-1.1.9-zh-cn.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(function () {
$('#txtnewsContent').xheditor({ skin: 'o2007blue', tools: 'mfull', urlType: 'rel',upLinkUrl: "../xheditor/upload.aspx", upLinkExt: "zip,rar,txt",upImgUrl: "../xheditor/upload.aspx", upImgExt: "jpg,jpeg,gif,png",upFlashUrl: "../xheditor/upload.aspx", upFlashExt: "swf",upMediaUrl: "../xheditor/upload.aspx", upMediaExt: "avi",localUrlTest: /^https?:\/\/[^\/]*?(yxxx\.com)\//i, remoteImgSaveUrl: '../xheditor/saveremoteimg.aspx'
});});</script>
upload.aspx saveremoteimg.aspx 两个里面:
string attachdir = "../upload"; // 上传文件保存路径,结尾不要带/
完毕!
官网:http://xheditor.com/
- xhEditor for .net (支持上传,远程抓图)
- xhEditor 不能支持本地图片上传
- xhEditor支持HTML5的文件上传解决application/octet-stream
- .Net MVC后台接收xheditor上传文件,FTP文件传输
- xheditor实现上传
- xheditor图片上传
- xheditor struts2 上传文件
- php 上传图片,无刷新上传,支持多图上传,远程图片上传
- xheditor编辑器上传功能实现
- struts2+xheditor+上传图片功能
- dwz xheditor编辑器文件上传
- xhEditor struts2实现图片上传
- spring mvc+xheditor图片上传
- xheditor+struts 实现图片上传
- 配置xheditor图片上传功能
- dwz xheditor编辑器文件上传
- [asp.net] xheditor 圖片上傳 功能
- xhEditor
- 中间件技术的概念和分类
- System.Web.UI.ScriptManager”的方法“get_EnableCdn”没有实现。
- iPhone处理图片(UIImage扩展类) 自动适应frame大小方法
- 多线程
- 三个很有用的sqlserver中的处理多个以分隔符分隔的参数的函数
- xhEditor for .net (支持上传,远程抓图)
- ubuntu crontab 编辑器
- Rails 3.1 安装及启动报错解决方案若干
- Big-Endian, Little-Endian和字节码对齐方式(下)
- Xcode Bate 4.2如何设置svn
- SVN 用户名密码的保存位置
- AC算法详解
- NuGet安装及简单使用
- 触发器使用不了