网上下载了一个模板,其他的都会,就是不会搭建textarea 的部分,不知道要怎么嵌入,怎么使用有没有会的大神求指导,谢谢。
1条回答 默认 最新
- 我最爱晓曼了 2017-05-03 10:33关注//var ue = UE.getEditor('myEditor'); //初始化 var ue = UE.getEditor('myEditor', { toolbars : [ [ 'source', 'Undo', 'Redo', '|', 'Bold', 'italic', 'underline','indent','lineheight', 'cleardoc','inserttable','mergecells', 'fontborder', 'strikethrough', 'removeformat', 'formatmatch', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', '|', 'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|', 'justifyleft', 'justifyright', 'justifycenter', 'justifyjustify', '|', 'insertimage', 'preview', 'searchreplace', 'FullScreen' ] ], //关闭字数统计 wordCount : true, maximumWords : 2000, autoHeightEnabled : true, //关闭elementPath elementPathEnabled : false, //默认的编辑区域高度 initialFrameHeight : 150 //更多其他参数,请参考ueditor.config.js中的配置项 }); function SureSubmit(objForm) { objForm.myEditors.value = UE.getEditor( 'myEditor').getContent(); objForm.submit(); }本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥15 微信会员卡等级和折扣规则
- ¥15 微信公众平台自制会员卡可以通过收款码收款码收款进行自动积分吗
- ¥15 随身WiFi网络灯亮但是没有网络,如何解决?
- ¥15 gdf格式的脑电数据如何处理matlab
- ¥20 重新写的代码替换了之后运行hbuliderx就这样了
- ¥100 监控抖音用户作品更新可以微信公众号提醒
- ¥15 UE5 如何可以不渲染HDRIBackdrop背景
- ¥70 2048小游戏毕设项目
- ¥20 mysql架构,按照姓名分表
- ¥15 MATLAB实现区间[a,b]上的Gauss-Legendre积分