ueditor编辑器
来源:互联网 发布:现在做网络销售怎么样 编辑:程序博客网 时间:2024/05/16 09:38
<script type="text/javascript" src="/tools/ueditor/ueditor.config.js"></script> <script type="text/javascript" src="/tools/ueditor/ueditor.all.min.js"></script>
var mpEditor,thEditor;
mpEditor = common.ueditor("designMainPoint", "simplest" ,false,false,5000);thEditor = common.ueditor("designThought", "simplest" ,false,false,5000);
mpEditor.ready(function() { mpEditor.setContent(result.mainPoint); }); thEditor.ready(function() { thEditor.setContent(result.thought); });
var designMainPoint = mpEditor.getContent();var count_mpEditor = mpEditor.getContentLength(true);var designThought = thEditor.getContent();var count_thEditor = thEditor.getContentLength(true); if (count_mpEditor == 0 || count_mpEditor > 5000) { common.layer.msg("请输点,字数不超过5000"); return false; } if (count_thEditor == 0 || count_thEditor > 5000) { common.layer.msg("请输路,字数不超过5000"); return false; }
<div class="zbj-form-item clear"><div class="zbj-item-lf">教学重点:</div><div class="zbj-item-rt"><div class="set-wrap"><script id="designMainPoint" type="text/plain" style="width:588px;height:150px;"></script></div><div class="ht-24"></div></div></div><div class="zbj-form-item clear"><div class="zbj-item-lf">课题思路:</div><div class="zbj-item-rt"><div class="set-wrap"><script id="designThought" type="text/plain" style="width:588px;height:150px;"></script></div><div class="ht-24"></div></div></div>
editorA.getPlainTxt();
0 0
- ueditor编辑器
- Ueditor编辑器
- UEDITOR编辑器
- ueditor编辑器
- 编辑器ueditor
- UEDITOR编辑器
- ueditor编辑器乱码问题解决
- 百度UEditor在线编辑器
- 百度ueditor文本编辑器
- thinkphp 编辑器 Ueditor
- ueditor编辑器使用心得
- 部署UEditor编辑器
- ueditor百度文本编辑器
- 富文本编辑器ueditor
- 百度编辑器(Ueditor)
- 项目集成Ueditor编辑器
- ueditor编辑器使用
- Ueditor编辑器的使用
- ubuntu环境-Django下快速安装和配置MySQL
- caffe学习笔记
- Java基础:StringBuilder、StringBuffer和String
- DateUtil--日期转换工具
- hive(0.12.0)配置并启动hwi
- ueditor编辑器
- ORACLE 11g RAC部署GRID过程中遇到的问题总结
- EL表达式
- Java——分页
- Ryan的OC学习总结-----2 OC中的面向对象特性
- 期末答辩结束开启新的历程
- 关于ListView中EditText点击弹出软键盘及软键盘弹出后的焦点问题
- leetcode: Majority Element
- 闲暇博客