umeditor 配置uilabel 行间距距

Ueditor1.4.3配置问题记录【ueditor吧】_百度贴吧
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&签到排名:今日本吧第个签到,本吧因你更精彩,明天继续来努力!
本吧签到人数:0可签7级以上的吧50个
本月漏签0次!成为超级会员,赠送8张补签卡连续签到:天&&累计签到:天超级会员单次开通12个月以上,赠送连续签到卡3张
关注:59,635贴子:
Ueditor1.4.3配置问题记录
这两天需要把公司项目的ueditor升级,把遇到的问题简单记录下来。1.上传图片显示:“后端配置项没有正常加载,上传插件不能正常使用!”按照API文档做的Demo是正常的,但是放到项目里就显示不能正常使用。 原因:1.由于我是把Ueditor升级,本地有旧的jar包,删除即可;
2.config.json未配置正确,比如我在imagePathFormat中输入了非法字符“\ : * ? & & & | ” 2.如果上传图片至本地,config.json中imageUrlPrefix:”自己的项目名称”,否则上传图片后编辑器里无法正常显示。imagePathFormat,默认的路径即可。 3.我是需要把图片上传至FTP,因此用了自定义请求地址,按照百度给的文档复写了getActionUrl方法。 UE.Editor.prototype._bkGetActionUrl=UE.Editor.prototype.getActionU
UE.Editor.prototype.getActionUrl = function(action) {
if (action == 'uploadimage' || action == 'uploadscrawl' || action == 'uploadimage') {
return&/image_upload.do?page_type=0&;
} elseif (action == 'uploadvideo') {
return'';
returnthis._bkGetActionUrl.call(this, action);
} 4.上传图片至FTP成功后,但是会出现“服务器返回出错”的信息,经调试发现是在image.js中utils.str2json(responseText)出了问题,抛出异常。原来是我把后台返回的参数加的是单引号,在1.3.5版本单引号是可以的,升级至1.4.3就不行了。改成双引号即可。返回格式:{
&state&: &SUCCESS&,
&url&: &upload/demo.jpg&,
&title&: &demo.jpg&,
&original&:&demo.jpg&} 5.上传附件:自定义请求地址至FTP。出现问题:上传中文标题的文件,上传成功后,ueditor编辑器中中文标题会出现乱码。解决方法:后台文件中进行URLEncoder.encode(“original”, &utf-8&);修改ueditor源文件attachment.js,进行解码,title:decodeURIComponent(data.original)
你好,请问下,上传图片要生成缩略图。要在哪里配置呢。谢谢
贴吧热议榜
使用签名档&&
保存至快速回贴ueditor的问题,定制版行间距和首航缩进没效果,怎么回事?
[问题点数:20分,结帖人xjl]
ueditor的问题,定制版行间距和首航缩进没效果,怎么回事?
[问题点数:20分,结帖人xjl]
不显示删除回复
显示所有回复
显示星级回复
显示得分回复
只显示楼主
匿名用户不能发表回复!|在 SegmentFault,学习技能、解决问题
每个月,我们帮助 1000 万的开发者解决各种各样的技术问题。并助力他们在技术能力、职业生涯、影响力上获得提升。
问题对人有帮助,内容完整,我也想知道答案
问题没有实际价值,缺少关键内容,没有改进余地
我想通过umeditor上传图片到七牛云,但是找不到在哪设置,网上的都是ueditor的,求大神指点
来源: 七牛云存储问答
答案对人有帮助,有参考价值
答案没帮助,是错误的答案,答非所问
应该是没有此插件,您可以联系umeditor 或者其他人来开发一个 :)
同步到新浪微博
分享到微博?
关闭理由:
删除理由:
忽略理由:
推广(招聘、广告、SEO 等)方面的内容
与已有问题重复(请编辑该提问指向已有相同问题)
答非所问,不符合答题要求
宜作评论而非答案
带有人身攻击、辱骂、仇恨等违反条款的内容
无法获得确切结果的问题
非开发直接相关的问题
非技术提问的讨论型问题
其他原因(请补充说明)
我要该,理由是:
在 SegmentFault,学习技能、解决问题
每个月,我们帮助 1000 万的开发者解决各种各样的技术问题。并助力他们在技术能力、职业生涯、影响力上获得提升。&nbsp>&nbsp
&nbsp>&nbsp
&nbsp>&nbsp
UEditor编辑器配置常用函数大全
摘要:UEditor编辑器常用设置函数大全在线文档对UEditor说明不够全面,收集了一些常用的方法和基本设置,以供参考。1、创建编辑器UE.getEditor('editor',{&&&&initialFrameWidth:&100%&//初始化选项&&})精简版&UE.getEditor('editor')2、删除编辑器UE.getEditor('editor').destroy();3、
UEditor编辑器常用设置函数大全
在线文档对UEditor说明不够全面,收集了一些常用的方法和基本设置,以供参考。
1、创建编辑器
UE.getEditor('editor', {
& & & &initialFrameWidth:&100%& //初始化选项
&UE.getEditor('editor')
2、删除编辑器
UE.getEditor('editor').destroy();
3、设置焦点
UE.getEditor('editor').focus();
4、获取编辑器内容
UE.getEditor('editor').getContent()
5、编辑器是否有内容
UE.getEditor('editor').hasContents()
6、获取编辑器内容纯文本格式
UE.getEditor('editor').getContentTxt()
7、获取带格式的纯文本
UE.getEditor('editor').getPlainTxt()
8、启用编辑器
UE.getEditor('editor').setEnabled();
9、禁止编辑
UE.getEditor('editor').setDisabled('fullscreen');
10、获取整个html内容
UE.getEditor('editor').getAllHtml()
11、常用设置
imageUrl:UEDITOR_HOME_URL + &../yunserver/yunImageUp.php&, //图片上传接口 imagePath:&http://&, scrawlUrl:UEDITOR_HOME_URL + &../yunserver/yunScrawlUp.php&,//涂鸦接口 scrawlPath:&http://&, fileUrl:UEDITOR_HOME_URL + &../yunserver/yunFileUp.php&,//文件上传接口 filePath:&http://&, catcherUrl:UEDITOR_HOME_URL + &php/getRemoteImage.php&,//获取远程图片接口 catcherPath:UEDITOR_HOME_URL + &php/&, imageManagerUrl:UEDITOR_HOME_URL + &../yunserver/yunImgManage.php&,//图片管理接口 imageManagerPath:&http://&, snapscreenHost:'ueditor.baidu.com', snapscreenServerUrl:UEDITOR_HOME_URL + &../yunserver/yunSnapImgUp.php&,//截图接口 snapscreenPath:&http://&, wordImageUrl:UEDITOR_HOME_URL + &../yunserver/yunImageUp.php&,//word图片转存接口 wordImagePath:&http://&, // getMovieUrl:UEDITOR_HOME_URL + &../yunserver/getMovie.php&,//获取视频接口 lang:/^zh/.test(navigator.language || navigator.browserLanguage || navigator.userLanguage) ? 'zh-cn' : 'en', langPath:UEDITOR_HOME_URL + &lang/&, webAppKey:&9HrmGf2ul4mlyK8ktO2Ziayd&, initialFrameWidth:860, //初始化宽度 initialFrameHeight:420, //初始化高度 focus:true //是否焦点
以上是的内容,更多
的内容,请您使用右上方搜索功能获取相关信息。
若你要投稿、删除文章请联系邮箱:zixun-group@service.aliyun.com,工作人员会在五个工作日内给你回复。
云服务器 ECS
可弹性伸缩、安全稳定、简单易用
&40.8元/月起
预测未发生的攻击
&24元/月起
为您提供0门槛上云实践机会
你可能还喜欢
你可能感兴趣
阿里云教程中心为您免费提供
UEditor编辑器配置常用函数大全相关信息,包括
的信息,所有UEditor编辑器配置常用函数大全相关内容均不代表阿里云的意见!投稿删除文章请联系邮箱:zixun-group@service.aliyun.com,工作人员会在五个工作日内答复
售前咨询热线
支持与服务
资源和社区
关注阿里云
International服务热线:  电话:4
百度UEditor编辑器使用教程与使用方法
发布时间: 14:23:34.0 作者:青岛做网站
webUEditorUEditorUEditor
ueditor http://ueditor.baidu.com/website/index.html
http://ueditor.baidu.com/website/document.html
http://ueditor.baidu.com/website/download.html MINI
UEditorUBuilder,UBuilderUBuilder
PHP.NETJSP
&&&& _examples
&&& dialogsJS
&&& themes&& php/jsp/.netphp
&&& third-party(
&&& editor_all.js_src
&&& editor_api.js: API
&&& editor_all_min.jseditor_all.js
editor_config.js
&script type=&text/javascript& charset=&utf-8& src=&../umeditor.config.js&&&/script&&
& &!----&&
&&& &!--&script type=&text/javascript& charset=&utf-8& src=&../umeditor.all.js&&&/script&--&&
&&& &script type=&text/javascript& charset=&utf-8& src=&editor_api.js&&&/script&&
&&& &script type=&text/javascript& src=&../lang/zh-cn/zh-cn.js&&&/script&&
&textarea name=&key& id=&myEditor&&&/textarea& &
&script type=&text/javascript&&&
&&& var editor = new UE.ui.Editor();&
&&& editor.render(&myEditor&);&
&&& //1.2.4&
&&& //UE.getEditor(&myEditor&)&
&/script&&
4editor_config.jsURL
URL= window.UEDITOR_HOME_URL||&/UETest/ueditor/&;&
(function () {&
&&&& * dialog
&&&& * &&&/myProject/umeditor/&
&&&& * UEditorURL
&&&& * UEditorURL
&&&& * window.UMEDITOR_HOME_URL = &/xxxx/xxxx/&;
&&&& * @author wusuopubupt
&&&& * @date
&&&& * set window.UMEDITOR_HOME_URL = &/ueditor/&;
&&&& * */&
&&& window.UMEDITOR_HOME_URL = &/ueditor/&;& //&
&&&&&var URL = window.UMEDITOR_HOME_URL || (function(){&
&& & function PathStack() {&
&5editor_api.js editor.all.js,editor_api.js,
(function (){&
&&& var paths& = [&
&&&&&&&&&&& &editor.js&,&
&&&&&&&&&&& &core/browser.js&,&
&&&&&&&&&&& &core/utils.js&,&
&&&&&&&&&&& &core/EventBase.js&,&
&&&&&&&&&&& &core/dtd.js&,&
&&&&&&&&&&& &core/domUtils.js&,&
&&&&&&&&&&& &core/Range.js&,&
&&&&&&&&&&& &core/Selection.js&,&
&&&&&&&&&&& &core/Editor.js&,&
&&&&&&&&&&& &core/filterword.js&,&
&&&&&&&&&&& &core/node.js&,&
&&&&&&&&&&& &core/htmlparser.js&,&
&&&&&&&&&&& &core/filternode.js&,&
&&&&&&&&&&& &plugins/inserthtml.js&,&
&&&&&&&&&&& &plugins/image.js&,&
&&&&&&&&&&& &plugins/justify.js&,&
&&&&&&&&&&& &plugins/font.js&,&
&&&&&&&&&&& &plugins/link.js&,&
&&&&&&&&&&& &plugins/print.js&,&
&&&&&&&&&&& &plugins/paragraph.js&,&
&&&&&&&&&&& &plugins/horizontal.js&,&
&&&&&&&&&&& &plugins/cleardoc.js&,&
&&&&&&&&&&& &plugins/undo.js&,&
&&&&&&&&&&& &plugins/paste.js&,&
&&&&&&&&&&& &plugins/list.js&,&
&&&&&&&&&&& &plugins/source.js&,&
&&&&&&&&&&& &plugins/enterkey.js&,&
&&&&&&&&&&& &plugins/preview.js&,&
&&&&&&&&&&& &plugins/basestyle.js&,&
&&&&&&&&&&& &plugins/video.js&,&
&&&&&&&&&&& &plugins/selectall.js&,&
&&&&&&&&&&& &plugins/removeformat.js&,&
&&&&&&&&&&& &plugins/keystrokes.js&,&
&&&&&&&&&&& &plugins/dropfile.js&,&
&&&&&&&&&&& &ui/widget.js&,&
&&&&&&&&&&& &ui/button.js&,&
&&&&&& &&&&&&ui/toolbar.js&,&
&&&&&&&&&&& &ui/menu.js&,&
&&&&&&&&&&& &ui/dropmenu.js&,&
&&&&&&&&&&& &ui/splitbutton.js&,&
&&&&&&&&&&& &ui/colorsplitbutton.js&,&
&&&&&&&&&&& &ui/popup.js&,&
&&&&&&&&&&& &ui/scale.js&,&
&&&&&&&&&&& &ui/colorpicker.js&,&
&&& &&&&&&&&&ui/combobox.js&,&
&&&&&&&&&&& &ui/buttoncombobox.js&,&
&&&&&&&&&&& &ui/modal.js&,&
&&&&&&&&&&& &ui/tooltip.js&,&
&&&&&&&&&&& &ui/tab.js&,&
&&&&&&&&&&& &ui/separator.js&,&
&&&&&&&&&&& &ui/scale.js&,&
&&&&&&&&&&& &adapter/adapter.js&,&
&&&& &&&&&&&&adapter/button.js&,&
&&&&&&&&&&& &adapter/fullscreen.js&,&
&&&&&&&&&&& &adapter/dialog.js&,&
&&&&&&&&&&& &adapter/popup.js&,&
&&&&&&&&&&& &adapter/imagescale.js&,&
&&&&&&&&&&& &adapter/autofloat.js&,&
&&&&&&&&&&& &adapter/source.js&,&
&&&&& &&&&&&&adapter/combobox.js&&
&&&&&&& ],&
&&&&&&& /**
&&&&&&&& * @author wusuopubupt
&&&&&&&& * @date
&&&&&&&& *&
&&&&&&&& * modified& baseURL = &/ueditor/src/&;&
&&&&&&&& */&
&&&&&&& baseURL = &/ueditor/src/&;&&
&&& for (var i=0,pi = paths[i++];) {&
&&&&&&& document.write(&&script type=&text/javascript& src=&&+ baseURL + pi +&&&&/script&&);&
baseURLJSueditor_api.js
ueditor.config.js
&&&&&& ,imageUrl:URL+&php/imageUp.php&&&&&&&&&&&&& //&
&&&&&& //,imagePath:URL + &php/&&&&&&&&&&&&&&&&&&&&& //fixedImagePath,&
&&&&&& ,imagePath:&http://test.mathandcs.com/&&
&&&&&& ,imageFieldName:&upfile&&& &&&&&&&&&&&&&&&&//key,&
imageURLphpimagePathhost
ueditor/php/imageUp.php
$config = array(&
&&&&&&& &savePath& =& &/var/www/store/upload/& ,&&&&&&&&&&&& //&
&&&&&&& &maxSize& =& 1000 ,&&&&&&&&&&&&&&&&&& //KB&
&&&&&&& &allowFiles& =& array( &.gif& , &.png& , &.jpg& , &.jpeg& , &.bmp& )& //&
&&& //$Path = &upload/&;&
&&& $Path = &/var/www/store/upload/&;&
ueditor/dialogs/image/image.js
&&&&&&&&&&&&&&&& * @author wusuopubupt
&&&&&&&&&&&&&&&& * @date
&&&&&& &&&&&&&&&&* @return url modified
&&&&&&&&&&&&&&&& * */&
&&&&&&&&&&&&&&& var reg = /\/var\/www\/test\/upload\//;&
&&&&&&&&&&&&&&& url = url.replace(reg,&&);&
&&&&&&&& & var $img = $(&&img src=&& + editor.options.imagePath + url + && class=&edui-image-pic& /&&),&
&&&&&&&&&&&&&&&&&&& $item = $(&&div class=&edui-image-item edui-image-upload-item&&&div class=&edui-image-close&&&/div&&/div&&).append($img);&
青岛市市南区香港中路52号1615室(青岛国际新闻中心)
早8:20~晚18:00
Copyright &
All Rights Reserved  }

我要回帖

更多关于 wps行间距怎么设置 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信