引入
<script type="text/javascript" src="utf8-php/ueditor.config.js"></script>
<script type="text/javascript" src="utf8-php/ueditor.all.js"></script>
<!-- 加载编辑器的容器 -->
<script id="container" name="content" type="text/plain">
</script>
实例化
var ue = UE.getEditor('container', {
autoHeightEnabled: false,
initialFrameHeight: 300
});
获取文本内容
var html = ue.getContent();