editor
//实例化编辑器
//建议使用工厂方法getEditor创建和引用编辑器实例,如果在某个闭包下引用该编辑器,直接调用UE.getEditor('editor')就能拿到相关的实例
var editor1;
var editor1=getUUEditor(editor1);
function getUUEditor(editor,editorId = 'editor1'){
try{
editor.setContent('');
}catch(e){
UE.delEditor(editorId);
}
return UE.getEditor(editorId);
}