﻿

使用编辑器需要取消html中标记的nowrap属性


配置编辑器需在ueditor.config.js文件中修改路径即可，或新建ueditor.config_x.js
window.UEDITOR_HOME_URL="/Tools/Editer/baidu/";


自定义上传按钮
修改文件/Tools/Editer/baidu/ueditor.config.js
头部空白部分添加
var plugnt_uetoolbars = [['fullscreen', 'source', '|',
        'undo', 'redo', '|', 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript',
        'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor',
        'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|', 'rowspacingtop', 'rowspacingbottom', 'lineheight','myimage']];
在数组中toolbars添加  myimage
修改文件/Tools/Editer/baidu/ueditor.all.js
在数组中btnCmds添加  myimage
修改文件/Tools/Editer/baidu/themes/default/css/ueditor.css
添加.edui-for-myimage .edui-icon {background-position: -380px 0px;}


自定义图片按钮
修改文件/Tools/Editer/baidu/dialogs/image/image.html


