form_simditor.html 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>H+ 后台主题UI框架 - 国产simditor富文本编辑器</title>
  7. <meta name="keywords" content="H+后台主题,后台bootstrap框架,会员中心主题,后台HTML,响应式后台">
  8. <meta name="description" content="H+是一个完全响应式,基于Bootstrap3最新版本开发的扁平化主题,她采用了主流的左右两栏式布局,使用了Html5+CSS3等现代技术">
  9. <link rel="shortcut icon" href="favicon.ico"> <link href="css/bootstrap.min.css?v=3.3.7" rel="stylesheet">
  10. <link href="css/font-awesome.css?v=4.4.0" rel="stylesheet">
  11. <link href="css/animate.css" rel="stylesheet">
  12. <link rel="stylesheet" type="text/css" href="css/plugins/simditor/simditor.css" />
  13. <link href="css/style.css?v=4.1.0" rel="stylesheet">
  14. </head>
  15. <body class="gray-bg">
  16. <div class="wrapper wrapper-content">
  17. <div class="row">
  18. <div class="col-sm-12">
  19. <div class="ibox float-e-margins">
  20. <div class="ibox-title">
  21. <h5>国产simditor富文本编辑器</h5>
  22. <div class="ibox-tools">
  23. <a class="collapse-link">
  24. <i class="fa fa-chevron-up"></i>
  25. </a>
  26. <a class="dropdown-toggle" data-toggle="dropdown" href="form_editors.html#">
  27. <i class="fa fa-wrench"></i>
  28. </a>
  29. <ul class="dropdown-menu dropdown-user">
  30. <li><a href="form_editors.html#">选项1</a>
  31. </li>
  32. <li><a href="form_editors.html#">选项2</a>
  33. </li>
  34. </ul>
  35. <a class="close-link">
  36. <i class="fa fa-times"></i>
  37. </a>
  38. </div>
  39. </div>
  40. <div class="ibox-content">
  41. <textarea id="editor" placeholder="这里输入内容" autofocus>
  42. <p>Simditor 是团队协作工具 <a href="http://tower.im" target="_blank">Tower</a> 使用的富文本编辑器。</p>
  43. <p>相比传统的编辑器它的特点是:</p>
  44. <ul>
  45. <li>功能精简,加载快速</li>
  46. <li>输出格式化的标准 HTML</li>
  47. <li>每一个功能都有非常优秀的使用体验</li>
  48. </ul>
  49. <p>兼容的浏览器:IE10+、Chrome、Firefox、Safari。</p>
  50. </textarea>
  51. </div>
  52. </div>
  53. </div>
  54. </div>
  55. <div class="row">
  56. <div class="col-sm-12">
  57. <div class="ibox float-e-margins">
  58. <div class="ibox-content">
  59. <h2>
  60. Simditor简介
  61. </h2>
  62. <p>
  63. Simditor是Tower开源的所见即所得的在线富文本编辑器。它是一款十分优秀的国产富文本编辑器。Simditor的理念是保持简单,避免过度的功能,每一个特性都追求极致的用户体验。同时,Simditor也很容易扩展。
  64. </p>
  65. <div class="alert alert-warning">
  66. 官网:<a href="http://simditor.tower.im/" target="_blank">http://simditor.tower.im/</a>
  67. <br>GitHub:
  68. <a href="https://github.com/mycolorway/simditor" target="_blank">https://github.com/mycolorway/simditor</a>
  69. </div>
  70. </div>
  71. </div>
  72. </div>
  73. </div>
  74. </div>
  75. <!-- 全局js -->
  76. <script src="js/jquery.min.js?v=2.1.4"></script>
  77. <script src="js/bootstrap.min.js?v=3.3.7"></script>
  78. <!-- 自定义js -->
  79. <script src="js/content.js?v=1.0.0"></script>
  80. <!-- simditor -->
  81. <script type="text/javascript" src="js/plugins/simditor/module.js"></script>
  82. <script type="text/javascript" src="js/plugins/simditor/uploader.js"></script>
  83. <script type="text/javascript" src="js/plugins/simditor/hotkeys.js"></script>
  84. <script type="text/javascript" src="js/plugins/simditor/simditor.js"></script>
  85. <script>
  86. $(document).ready(function () {
  87. var editor = new Simditor({
  88. textarea: $('#editor'),
  89. defaultImage: 'img/a9.jpg'
  90. });
  91. });
  92. </script>
  93. <script type="text/javascript" src="http://tajs.qq.com/stats?sId=9051096" charset="UTF-8"></script>
  94. <!--统计代码,可删除-->
  95. </body>
  96. </html>