直接上代码:
var ue = UE.getEditor('content'}); ue.focus(); ue.execCommand('inserthtml', 'code html'); // 向光标处插入 ue.setContent('some html code here', true); // 向内最后插入内容
直接上代码:
var ue = UE.getEditor('content'}); ue.focus(); ue.execCommand('inserthtml', 'code html'); // 向光标处插入 ue.setContent('some html code here', true); // 向内最后插入内容