execCommand 处理Html数据

execCommand 处理Html数据


js:

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


关键词:新闻动态