如何使用ueditor
来源:互联网 发布:虚拟机运行mac os x慢 编辑:程序博客网 时间:2024/04/30 13:01
</pre><span style="font-size:18px; color:#ff0000"><strong>1、标签中</strong></span><p></p><p></p><pre name="code" class="html"> <textarea id="MsgCon" rows="50" cols="180" ></textarea>
2、js中初始化
var ue = UE.getEditor('MsgCon', { //设置按钮 focus: true, //上来就聚焦 enableAutoSave: false, //启用自动保存 elementPathEnabled: false, autoHeightEnabled: false, scaleEnabled: false, initialFrameWidth: "100%", initialFrameHeight: 230, //初始高度500 zIndex: 0 });
3、js中赋值
editor准备好之后才可以使用!!!这点很重要
UE.getEditor('MsgCon').addListener("ready", function () {<span style="white-space:pre"></span> // editor准备好之后才可以使用<span style="white-space:pre"></span> UE.getEditor('MsgCon').setContent(msgdata.MsgCon);<span style="white-space:pre"></span> });
4、js中取值
var content = UE.getEditor('MsgCon').getContent();
1 0
- 如何使用ueditor
- 如何使用Ueditor
- UEditor如何使用?UEditor的配置教程
- Dede如何使用UEditor编辑器
- 如何使用validanguage 验证UEditor
- 如何使用百度编辑器ueditor
- .net下如何引入和使用UEditor
- 使用Ueditor
- ueditor使用
- UEditor使用
- ueditor 使用
- 使用UEditor
- Ueditor 使用
- 使用UEditor
- ueditor使用
- 如何初步安装UEditor
- UEditor 如何进行二次开发
- UEditor如何进行二次开发
- android轮询最佳实践service+AlarmManager+Thread
- IntelliJ IDEA 常用插件收集
- cocos2dx 中 ProgressTimer的使用
- 利用 SGA 共享池,避开 parse 阶段
- Map遍历的几种方法
- 如何使用ueditor
- 将日期控件绑定指定的EditText中,自然显示给定的时间
- cron表达式详解
- Android获取系统当前日期及将日期转换成对应的星期
- 主元素问题--蒙特卡罗
- encodeURIComponent
- IIC协议的知识总结与积累
- 字符间距,行间距
- windows密钥查看器ProduKey1.82汉化