text: tinymce.init({
      //选择class为content的标签作为编辑器
      selector: '#rich_content',
      //方向从左到右
      directionality:'ltr',
      //语言选择中文
      language:'zh_CN',
      //高度为400
      height:400,
      width: '100%',
      //工具栏上面的补丁按钮
      plugins: [
              'advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker',
              'searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking',
              'save table contextmenu directionality template paste textcolor',
              'codesample imageupload',
      ],
      //工具栏的补丁按钮
       toolbar: 'insertfile undo redo | \
       styleselect | \
       bold italic | \
       alignleft aligncenter alignright alignjustify | \
       bullist numlist outdent indent | \
       link image | \
       print preview media fullpage | \
       forecolor backcolor emoticons |\
       codesample fontsizeselect fullscreen |\
       imageupload',
      //字体大小
      fontsize_formats: '10pt 12pt 14pt 18pt 24pt 36pt',
      //按tab不换行
      nonbreaking_force_tab: true,
      imageupload_url: "/sadmin/addnews_upload/"
  });