function quickreply(){ if(formreply.body.value=='') { alert('请输入排版内容!'); formreply.body.focus(); return false; }else{ return true; } } function format() { var body = "\n"+document.getElementById("thebody").value; body = body.replace(/ | /ig,""); body = body.replace(/\r\n/ig,"\n"); body = body.replace(/\n\n/ig,"\n"); body = body.replace(/\n\n/ig,"\n"); body = body.replace(/\n\n/ig,"\n"); body = body.replace(/\n\n/ig,"\n"); body = body.replace(/\n/ig,"\n\n  "); body = body.replace("\n\n",""); document.getElementById("thebody").value=body; }
伪原创生成  |  文章转语音  |  DW编辑器  |  开通网站
 
 
 
  版本:工具使用说明!