1、切换到源代码模式
UM.getEditor('editor').execCommand("source");
2、给编辑器插入Velocity源码
$(".edui-container textarea")[0].value="<a>sdf</a>";
3、以上方法需要在ready事件后执行
ue.ready(function() {
doing
})
1、切换到源代码模式
UM.getEditor('editor').execCommand("source");
2、给编辑器插入Velocity源码
$(".edui-container textarea")[0].value="<a>sdf</a>";
3、以上方法需要在ready事件后执行
ue.ready(function() {
doing
})