UE.registerUI("xiumi",function(e,t){return new UE.ui.Button({name:"xiumi-connect",title:"秀米",onclick:function(){var t=new UE.ui.Dialog({iframeUrl:"/sitefiles/assets/lib/ueditor/third-party/custom/xiumi-ue-dialog-v5.html",editor:e,name:"xiumi-connect",title:"秀米图文消息助手",cssRules:"width: "+(window.innerWidth-60)+"px;height: "+(window.innerHeight-60)+"px;"});t.render(),t.open()}})}),UE.registerUI("135editor",function(e,t){return new UE.ui.Button({name:"135editor-connect",title:"135编辑器",onclick:function(){var t=window.open("https://www.135editor.com/simple_editor.html?callback=true&appkey=");window.addEventListener("message",function(i){"string"==typeof i.data?(e.setContent(i.data),e.fireEvent("catchRemoteImage")):i.data.ready&&t.postMessage(e.getContent(),"*")},!1)}})},void 0);