<script src="HandyEditor.min.js"></script>
var he = HE.getEditor('editor');//其中的editor是文本输入框的id
he.getHtml();//获取HTML代码
he.getText();//获取纯文本