ueditor的一些设置
来源:互联网 发布:詹姆斯-琼斯数据 编辑:程序博客网 时间:2024/05/17 03:08
使用ueditor 附件上传后,文件图标会继承之前的style ,需要修改如下文件。。
“fileType的值为.扩展名,参考fileTypeMaps.js中fileTypeMaps
修改ueditor/dialogs/attachment/attachment.html文件,找到filesList.push({url:info.url,type:info.fileType,original:info.original});改为 filesList.push({url:info.url,type:info.fileType,title:info.title});“
//点击OK按钮
dialog.onok = function(){
var map = fileTypeMaps,
str="";
for(var i=0,ci;ci=filesList[i++];){
var src = editor.options.UEDITOR_HOME_URL +
"dialogs/attachment/fileTypeImages/"+(map[ci.type]||"icon_default.png");
str += "<p style='line-height: 16px; height: 16px;'><img style=' height: 16px ;
width : 16px;' src='"+ src + "' _src='"+src+"' >" +
"<a href='"+editor.options.filePath + ci.url+"'>" + ci.original +
"</a></p>";
}
- ueditor的一些设置
- UEditor的不能编译一些问题
- asp配置ueditor遇到的一些问题
- Tornado使用Ueditor的一些操作
- UEditor编辑器的一些使用心得
- 如何设置ueditor表情的个数
- UEditor设置内容setContent()失效的解决方法
- 百度ueditor版本之间的遇到的一些问题
- asp.net中对UEditor编辑器的一些操作
- UEditor设置语言
- UEditor动态设置工具栏
- 第一天开通,记录下ueditor的大小设置
- 前后台使用不同二级域名的Ueditor设置
- 百度Ueditor设置允许上传的图片格式及大小
- 【UEditor】php版的UEditor 1.3.x图片上传目录的设置,与上传插件的修改
- UEditor基本属性设置(1)
- ueditor编辑器设置限制字数
- UEditor 图片上传路径设置
- intellij IDEA 加 tomcat7.0
- javascript 中的this关键字的用法
- CF_484B Maximum Value(二分)
- java应该怎么分线程
- Java发送邮件(spring mail + apache mail)
- ueditor的一些设置
- 一篇Listview Button始终放在底部的好文章
- go语言连接mysql数据库 go语言网络库搭建
- eclipse美化,全黑eclipse 保护眼睛
- java系统高并发解决方案之图片服务器分离
- 用CATextLayer来实现一个UILabel
- 一些有价值的博文收录(未完待续)
- finally的深入解析
- 数值的整数次方