execCommand 处理Html数据

代码:

js:
<script>
var ue = UE.getEditor('w0'); //编辑器
function insertHtml(val) {
UE.getEditor('w0').execCommand('insertHtml', val);
}
ue.ready(function() {
});
</script>

代码:

js:
<script>
var ue = UE.getEditor('w0'); //编辑器
function insertHtml(val) {
UE.getEditor('w0').execCommand('insertHtml', val);
}
ue.ready(function() {
});
</script>