<script type="text/javascript" src="${ctx}/res/js/ueditor/ueditor.config.js"></script>
<script type="text/javascript" src="${ctx}/res/js/ueditor/ueditor.all.js"></script>
ue = UE.getEditor('content',{
initialFrameWidth :735,//设置编辑器宽度
initialFrameHeight:250,//设置编辑器高度
scaleEnabled:true
});
获取编辑器的内容:
ue.getContent();
设置编辑器的内容
ue.setContent(data.contentStr);
编辑器初始化完成之后:
ue.ready(function(){
});