execCommand 处理Html数据

代码:

js:

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

 

posted @ 2017-07-27 17:31  2人4人  阅读(795)  评论(0编辑  收藏  举报