网上下载了一个模板,其他的都会,就是不会搭建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(); }本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥30 backtrader对于期货交易的现金和资产计算的问题
- ¥15 求C# .net4.8小报表工具
- ¥15 安装虚拟机时出现问题
- ¥15 Selenium+docker Chrome不能运行
- ¥15 mac电脑,安装charles后无法正常抓包
- ¥18 visio打开文件一直显示文件未找到
- ¥15 请教一下,openwrt如何让同一usb储存设备拔插后设备符号不变?
- ¥50 使用quartz框架进行分布式任务定时调度,启动了两个实例,但是只有一个实例参与调度,另外一个实例没有参与调度,不知道是为什么?请各位帮助看一下原因!!
- ¥50 怎么获取Ace Editor中的python代码后怎么调用Skulpt执行代码
- ¥30 fpga基于dds生成幅值相位频率和波形可调的容易信号发生器。