当前位置:福州便民网 福州论坛 > 旅游户外 > 约伴同行
发新帖

川藏线拼车/捡人—9月11号、18号、23号、28号—错开高峰期

小何加油 发表于:2019-09-07 8人阅读0条回复 鲜花0 [ 复制链接 ] [ 快速回复 ] [ 举报 ]

  • 0

  • 0

  • 0

    '); } } UE.LocalStorage.saveLocalData( saveKey, aids ); } }; //图片插入 不保存在临时缓存中 UE.commands['updateAid'] = { execCommand:function (cmd, opt) { var browser = baidu.editor.browser; //var tid = window.UEDITOR_CONFIG.thread.tid; var saveKey = window.UEDITOR_CONFIG.thread.aidKey; var aids = UE.LocalStorage.getLocalData( saveKey ) || ''; //缓存附件id // console.log(aids); // console.log(opt); var aidList = aids.split("|"); aids = "0"; //console.log(aidList); for(var aid in aidList){ aid = aidList[aid]; if(opt.aid!=aid){ aids = aids?aids+"|"+aid:aid; } //console.log(aid); if(0==$("input[class=flashatt_"+aid+"_desc]").length){ $("#aid").append('
    '); } } //console.log(aids); UE.LocalStorage.saveLocalData( saveKey, aids ); } }; UE.commands['saveContent'] = { execCommand:function (cmd, opt) { var me=this; setTimeout(function(){ if(inputType){ var interalTimer = setInterval(function(){ if(!inputType){ console.log('a'); //触发保存草稿 save(me); clearInterval(interalTimer) } },300) return; } save(me); },200); } }; //实例化编辑器 //建议使用工厂方法getEditor创建和引用编辑器实例,如果在某个闭包下引用该编辑器,直接调用UE.getEditor('editor')就能拿到相关的实例 // UE.getEditor('atc_content'); var ue = UE.getEditor('atc_content',{ emotionLocalization:true ,catcherUrl:'http://bbs.fzbm.com/index.php?c=mawholep&m=htmlutf8&target='+escape('http://upload5.fzbm.com/getRemoteImage.php') ,catcherPath:'' ,token:'' ,fzbm_token:'' ,user_agent:'' ,elementPathEnabled:false //元素路径 ,wordCount:false //字数统计 ,autoHeightEnabled:false //自动高度 }); //加载草稿箱 ue.commands.drafts.execCommand()