解决ueditor jquery javascript 取值问题
varcontent=UE.getEditor('myEditor').getContent();
myEditor是ueditor的名称name。
<textareaname="myEditor"id="myEditor"></textarea>
<scripttype="text/javascript">
vareditor=newUE.ui.Editor();
editor.render("appendInput");
//1.2.4以后可以使用一下代码实例化编辑器
//UE.getEditor('myEditor')
</script>
方法很简单,小伙伴们是否了解了呢?