ueditor.rails 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (223) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/config.mindpin.default.coffee +59 -0
  3. data/app/assets/javascripts/ueditor.js +3 -2
  4. data/app/assets/stylesheets/ueditor/themes/mindpin/css/ueditor.css +1945 -0
  5. data/app/assets/stylesheets/ueditor/themes/mindpin/dialogbase.css +100 -0
  6. data/app/assets/stylesheets/ueditor/themes/mindpin/images/anchor.gif +0 -0
  7. data/app/assets/stylesheets/ueditor/themes/mindpin/images/arrow.png +0 -0
  8. data/app/assets/stylesheets/ueditor/themes/mindpin/images/arrow_down.png +0 -0
  9. data/app/assets/stylesheets/ueditor/themes/mindpin/images/arrow_up.png +0 -0
  10. data/app/assets/stylesheets/ueditor/themes/mindpin/images/button-bg.gif +0 -0
  11. data/app/assets/stylesheets/ueditor/themes/mindpin/images/cancelbutton.gif +0 -0
  12. data/app/assets/stylesheets/ueditor/themes/mindpin/images/charts.png +0 -0
  13. data/app/assets/stylesheets/ueditor/themes/mindpin/images/cursor_h.gif +0 -0
  14. data/app/assets/stylesheets/ueditor/themes/mindpin/images/cursor_h.png +0 -0
  15. data/app/assets/stylesheets/ueditor/themes/mindpin/images/cursor_v.gif +0 -0
  16. data/app/assets/stylesheets/ueditor/themes/mindpin/images/cursor_v.png +0 -0
  17. data/app/assets/stylesheets/ueditor/themes/mindpin/images/dialog-title-bg.png +0 -0
  18. data/{vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png → app/assets/stylesheets/ueditor/themes/mindpin/images/filescan.png} +0 -0
  19. data/app/assets/stylesheets/ueditor/themes/mindpin/images/highlighted.gif +0 -0
  20. data/app/assets/stylesheets/ueditor/themes/mindpin/images/icons-all.gif +0 -0
  21. data/app/assets/stylesheets/ueditor/themes/mindpin/images/icons.gif +0 -0
  22. data/app/assets/stylesheets/ueditor/themes/mindpin/images/icons.png +0 -0
  23. data/{vendor/assets/javascripts/ueditor/dialogs/attachment/images/bg.png → app/assets/stylesheets/ueditor/themes/mindpin/images/loaderror.png} +0 -0
  24. data/app/assets/stylesheets/ueditor/themes/mindpin/images/loading.gif +0 -0
  25. data/{vendor/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif → app/assets/stylesheets/ueditor/themes/mindpin/images/lock.gif} +0 -0
  26. data/{vendor/assets/javascripts/ueditor/dialogs/emotion → app/assets/stylesheets/ueditor/themes/mindpin}/images/neweditor-tab-bg.png +0 -0
  27. data/app/assets/stylesheets/ueditor/themes/mindpin/images/pagebreak.gif +0 -0
  28. data/app/assets/stylesheets/ueditor/themes/mindpin/images/scale.png +0 -0
  29. data/{vendor/assets/javascripts/ueditor/dialogs/video/images/bg.png → app/assets/stylesheets/ueditor/themes/mindpin/images/sortable.png} +0 -0
  30. data/app/assets/stylesheets/ueditor/themes/mindpin/images/spacer.gif +0 -0
  31. data/app/assets/stylesheets/ueditor/themes/mindpin/images/sparator_v.png +0 -0
  32. data/app/assets/stylesheets/ueditor/themes/mindpin/images/table-cell-align.png +0 -0
  33. data/app/assets/stylesheets/ueditor/themes/mindpin/images/tangram-colorpicker.png +0 -0
  34. data/app/assets/stylesheets/ueditor/themes/mindpin/images/toolbar_bg.png +0 -0
  35. data/app/assets/stylesheets/ueditor/themes/mindpin/images/unhighlighted.gif +0 -0
  36. data/app/assets/stylesheets/ueditor/themes/mindpin/images/upload.png +0 -0
  37. data/app/assets/stylesheets/ueditor/themes/mindpin/images/videologo.gif +0 -0
  38. data/{vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif → app/assets/stylesheets/ueditor/themes/mindpin/images/word.gif} +0 -0
  39. data/app/assets/stylesheets/ueditor/themes/mindpin/images/wordpaste.png +0 -0
  40. data/lib/ueditor/version.rb +1 -1
  41. data/test/dummy/log/development.log +105 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/02b56f18dcd4ddec585a02528773c04b +0 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/067a099f2392ac9d679fb27d72421548 +0 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/07898ec696d976eeafb61ef6bb48e097 +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/19694ecb6829b547affeb420f6c4f4ba +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/22b4a109d4f3136884f5b96c0dafe5c4 +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/2e810e09180be475ce270590eb6d79bf +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/31b24023d7695b6c40fbe8b2d903e8db +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/32e4b0cbcc7942738eb80e9c571e09ad +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/3e6fbffe890d9471ace4284a35cf833e +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/50a23c1131cabc18af0d7ce21df229ea +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/792425c63374a4c75ca043ceeb960991 +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/8165d0bcd2b5c04b4a98f4f0cbabef64 +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/9bf28bcb944fe3baabaabb97036a4d6c +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/9df06b25c7118a2446ff210358a7150a +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/a0a5d0da6dc7907299fb15adbabc87e5 +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/d3a9a64bc190424c032a25d0b7ee0ed1 +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/eb17dc3da27134989a88ec01caa61d78 +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/ef01c1c9fa9a8ace471702975febabf5 +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/fa046bb067616da9d14862739bf2c67c +0 -0
  64. data/vendor/assets/javascripts/ueditor/index.html +0 -19
  65. data/vendor/assets/javascripts/ueditor/themes/iframe.css +0 -1
  66. data/vendor/assets/javascripts/ueditor/ueditor.all.js +2854 -12684
  67. data/vendor/assets/javascripts/ueditor/ueditor.all.min.js +10 -709
  68. data/vendor/assets/javascripts/ueditor/ueditor.config.js +2 -147
  69. data/vendor/assets/javascripts/ueditor/ueditor.parse.js +11 -602
  70. data/vendor/assets/javascripts/ueditor/ueditor.parse.min.js +1 -28
  71. metadata +82 -161
  72. data/app/assets/javascripts/default.config.js +0 -381
  73. data/vendor/assets/javascripts/ueditor/dialogs/anchor/anchor.html +0 -40
  74. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.css +0 -681
  75. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.html +0 -60
  76. data/vendor/assets/javascripts/ueditor/dialogs/attachment/attachment.js +0 -754
  77. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  78. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  79. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  80. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  81. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  82. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  83. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  84. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  85. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  86. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  87. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  88. data/vendor/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  89. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
  90. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
  91. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
  92. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
  93. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
  94. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
  95. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
  96. data/vendor/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
  97. data/vendor/assets/javascripts/ueditor/dialogs/background/background.css +0 -94
  98. data/vendor/assets/javascripts/ueditor/dialogs/background/background.html +0 -56
  99. data/vendor/assets/javascripts/ueditor/dialogs/background/background.js +0 -376
  100. data/vendor/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
  101. data/vendor/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
  102. data/vendor/assets/javascripts/ueditor/dialogs/charts/chart.config.js +0 -65
  103. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.css +0 -165
  104. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.html +0 -89
  105. data/vendor/assets/javascripts/ueditor/dialogs/charts/charts.js +0 -519
  106. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
  107. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
  108. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
  109. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
  110. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
  111. data/vendor/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
  112. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.css +0 -43
  113. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.html +0 -54
  114. data/vendor/assets/javascripts/ueditor/dialogs/emotion/emotion.js +0 -186
  115. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
  116. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
  117. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
  118. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
  119. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  120. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
  121. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
  122. data/vendor/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
  123. data/vendor/assets/javascripts/ueditor/dialogs/gmap/gmap.html +0 -89
  124. data/vendor/assets/javascripts/ueditor/dialogs/help/help.css +0 -7
  125. data/vendor/assets/javascripts/ueditor/dialogs/help/help.html +0 -82
  126. data/vendor/assets/javascripts/ueditor/dialogs/help/help.js +0 -56
  127. data/vendor/assets/javascripts/ueditor/dialogs/image/image.css +0 -894
  128. data/vendor/assets/javascripts/ueditor/dialogs/image/image.html +0 -120
  129. data/vendor/assets/javascripts/ueditor/dialogs/image/image.js +0 -1139
  130. data/vendor/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
  131. data/vendor/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
  132. data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
  133. data/vendor/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
  134. data/vendor/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
  135. data/vendor/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
  136. data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
  137. data/vendor/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
  138. data/vendor/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +0 -98
  139. data/vendor/assets/javascripts/ueditor/dialogs/map/map.html +0 -135
  140. data/vendor/assets/javascripts/ueditor/dialogs/map/show.html +0 -118
  141. data/vendor/assets/javascripts/ueditor/dialogs/music/music.css +0 -30
  142. data/vendor/assets/javascripts/ueditor/dialogs/music/music.html +0 -32
  143. data/vendor/assets/javascripts/ueditor/dialogs/music/music.js +0 -192
  144. data/vendor/assets/javascripts/ueditor/dialogs/preview/preview.html +0 -40
  145. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
  146. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
  147. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
  148. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
  149. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
  150. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
  151. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
  152. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
  153. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
  154. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
  155. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
  156. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
  157. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
  158. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
  159. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +0 -72
  160. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +0 -95
  161. data/vendor/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +0 -671
  162. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +0 -102
  163. data/vendor/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +0 -164
  164. data/vendor/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +0 -58
  165. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.html +0 -21
  166. data/vendor/assets/javascripts/ueditor/dialogs/spechars/spechars.js +0 -57
  167. data/vendor/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
  168. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.css +0 -84
  169. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.html +0 -64
  170. data/vendor/assets/javascripts/ueditor/dialogs/table/edittable.js +0 -237
  171. data/vendor/assets/javascripts/ueditor/dialogs/table/edittd.html +0 -61
  172. data/vendor/assets/javascripts/ueditor/dialogs/table/edittip.html +0 -33
  173. data/vendor/assets/javascripts/ueditor/dialogs/template/config.js +0 -42
  174. data/vendor/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  175. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  176. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  177. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  178. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  179. data/vendor/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  180. data/vendor/assets/javascripts/ueditor/dialogs/template/template.css +0 -18
  181. data/vendor/assets/javascripts/ueditor/dialogs/template/template.html +0 -26
  182. data/vendor/assets/javascripts/ueditor/dialogs/template/template.js +0 -53
  183. data/vendor/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  184. data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
  185. data/vendor/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
  186. data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
  187. data/vendor/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
  188. data/vendor/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
  189. data/vendor/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  190. data/vendor/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  191. data/vendor/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
  192. data/vendor/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  193. data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
  194. data/vendor/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
  195. data/vendor/assets/javascripts/ueditor/dialogs/video/video.css +0 -635
  196. data/vendor/assets/javascripts/ueditor/dialogs/video/video.html +0 -86
  197. data/vendor/assets/javascripts/ueditor/dialogs/video/video.js +0 -789
  198. data/vendor/assets/javascripts/ueditor/dialogs/webapp/webapp.html +0 -53
  199. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  200. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
  201. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/tangram.js +0 -1495
  202. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +0 -111
  203. data/vendor/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +0 -157
  204. data/vendor/assets/javascripts/ueditor/lang/en/en.js +0 -684
  205. data/vendor/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
  206. data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  207. data/vendor/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
  208. data/vendor/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
  209. data/vendor/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
  210. data/vendor/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
  211. data/vendor/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
  212. data/vendor/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
  213. data/vendor/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
  214. data/vendor/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
  215. data/vendor/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
  216. data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
  217. data/vendor/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
  218. data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
  219. data/vendor/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
  220. data/vendor/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
  221. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +0 -1256
  222. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +0 -9
  223. data/vendor/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
@@ -1,102 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <title></title>
6
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
7
- <script type="text/javascript" src="../internal.js"></script>
8
- <style type="text/css">
9
- .warpper{ position:relative;width: 380px; height: 100%; margin: 10px auto;}
10
- .tabbody{height: 160px;}
11
- .tabbody table{width:100%;border-collapse: separate;border-spacing: 3px;}
12
- .tabbody .panel{width:373px;height:100%;padding-left: 5px;position: absolute;background-color: #fff;}
13
- .tabbody input.int{ width:190px;height:21px;border:1px solid #d7d7d7;line-height:21px;}
14
- .tabbody input.btn{padding: 0 5px; text-align:center;line-height:24px; text-decoration: none;height:24px;background:url("../../themes/default/images/dialog-title-bg.png") repeat-x;border:1px solid #ccc; }
15
- </style>
16
- </head>
17
- <body>
18
- <div class="warpper" id="searchtab">
19
- <div id="head" class="tabhead">
20
- <span tabsrc="find" class="focus"><var id="lang_tab_search"></var></span>
21
- <span tabsrc="replace" ><var id="lang_tab_replace"></var></span>
22
- </div>
23
- <div class="tabbody">
24
- <div class="panel" id="find">
25
- <table>
26
- <tr>
27
- <td width="80"><var id="lang_search1"></var>: </td>
28
- <td><input id="findtxt" type="text" class="int" /></td>
29
- </tr>
30
- <!--<tr>-->
31
-
32
- <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg"></var></span></td>-->
33
- <!--</tr>-->
34
- <tr>
35
- <td><var id="lang_case_sensitive1"></var></td>
36
- <td>
37
- <input id="matchCase" type="checkbox" />
38
- </td>
39
- </tr>
40
- <tr>
41
- <td colspan="2">
42
- <input id="nextFindBtn" type="button" class="btn" />
43
- <input id="preFindBtn" type="button" class="btn" />
44
- </td>
45
- </tr>
46
- <tr>
47
- <td colspan="2">
48
- &nbsp;
49
- </td>
50
- </tr>
51
- <tr>
52
- <td colspan="2">
53
- <span id="search-msg" style="color:red"></span>
54
- </td>
55
- </tr>
56
- </table>
57
- </div>
58
- <div class="panel" id="replace">
59
- <table>
60
- <tr>
61
- <td width="80"><var id="lang_search2"></var>: </td>
62
- <td><input id="findtxt1" type="text" class="int" /></td>
63
- </tr>
64
- <!--<tr>-->
65
-
66
- <!--<td colspan="2"><span style="color:red"><var id="lang_searchReg1"></var></span></td>-->
67
- <!--</tr>-->
68
- <tr>
69
- <td><var id="lang_replace"></var>: </td>
70
- <td><input id="replacetxt" type="text" class="int" /></td>
71
- </tr>
72
- <tr>
73
- <td><var id="lang_case_sensitive2"></var></td>
74
- <td>
75
- <input id="matchCase1" type="checkbox" />
76
- </td>
77
- </tr>
78
- <tr>
79
- <td colspan="2">
80
- <input id="nextReplaceBtn" type="button" class="btn" />
81
- <input id="preReplaceBtn" type="button" class="btn" />
82
- <input id="repalceBtn" type="button" class="btn" />
83
- <input id="repalceAllBtn" type="button" class="btn" />
84
- </td>
85
- </tr>
86
- <tr>
87
- <td colspan="2">
88
- &nbsp;
89
- </td>
90
- </tr>
91
- <tr>
92
- <td colspan="2">
93
- <span id="replace-msg" style="color:red"></span>
94
- </td>
95
- </tr>
96
- </table>
97
- </div>
98
- </div>
99
- </div>
100
- <script type="text/javascript" src="searchreplace.js"></script>
101
- </body>
102
- </html>
@@ -1,164 +0,0 @@
1
- /**
2
- * Created with JetBrains PhpStorm.
3
- * User: xuheng
4
- * Date: 12-9-26
5
- * Time: 下午12:29
6
- * To change this template use File | Settings | File Templates.
7
- */
8
-
9
- //清空上次查选的痕迹
10
- editor.firstForSR = 0;
11
- editor.currentRangeForSR = null;
12
- //给tab注册切换事件
13
- /**
14
- * tab点击处理事件
15
- * @param tabHeads
16
- * @param tabBodys
17
- * @param obj
18
- */
19
- function clickHandler( tabHeads,tabBodys,obj ) {
20
- //head样式更改
21
- for ( var k = 0, len = tabHeads.length; k < len; k++ ) {
22
- tabHeads[k].className = "";
23
- }
24
- obj.className = "focus";
25
- //body显隐
26
- var tabSrc = obj.getAttribute( "tabSrc" );
27
- for ( var j = 0, length = tabBodys.length; j < length; j++ ) {
28
- var body = tabBodys[j],
29
- id = body.getAttribute( "id" );
30
- if ( id != tabSrc ) {
31
- body.style.zIndex = 1;
32
- } else {
33
- body.style.zIndex = 200;
34
- }
35
- }
36
-
37
- }
38
-
39
- /**
40
- * TAB切换
41
- * @param tabParentId tab的父节点ID或者对象本身
42
- */
43
- function switchTab( tabParentId ) {
44
- var tabElements = $G( tabParentId ).children,
45
- tabHeads = tabElements[0].children,
46
- tabBodys = tabElements[1].children;
47
-
48
- for ( var i = 0, length = tabHeads.length; i < length; i++ ) {
49
- var head = tabHeads[i];
50
- if ( head.className === "focus" )clickHandler(tabHeads,tabBodys, head );
51
- head.onclick = function () {
52
- clickHandler(tabHeads,tabBodys,this);
53
- }
54
- }
55
- }
56
- $G('searchtab').onmousedown = function(){
57
- $G('search-msg').innerHTML = '';
58
- $G('replace-msg').innerHTML = ''
59
- }
60
- //是否区分大小写
61
- function getMatchCase(id) {
62
- return $G(id).checked ? true : false;
63
- }
64
- //查找
65
- $G("nextFindBtn").onclick = function (txt, dir, mcase) {
66
- var findtxt = $G("findtxt").value, obj;
67
- if (!findtxt) {
68
- return false;
69
- }
70
- obj = {
71
- searchStr:findtxt,
72
- dir:1,
73
- casesensitive:getMatchCase("matchCase")
74
- };
75
- if (!frCommond(obj)) {
76
- var bk = editor.selection.getRange().createBookmark();
77
- $G('search-msg').innerHTML = lang.getEnd;
78
- editor.selection.getRange().moveToBookmark(bk).select();
79
-
80
-
81
- }
82
- };
83
- $G("nextReplaceBtn").onclick = function (txt, dir, mcase) {
84
- var findtxt = $G("findtxt1").value, obj;
85
- if (!findtxt) {
86
- return false;
87
- }
88
- obj = {
89
- searchStr:findtxt,
90
- dir:1,
91
- casesensitive:getMatchCase("matchCase1")
92
- };
93
- frCommond(obj);
94
- };
95
- $G("preFindBtn").onclick = function (txt, dir, mcase) {
96
- var findtxt = $G("findtxt").value, obj;
97
- if (!findtxt) {
98
- return false;
99
- }
100
- obj = {
101
- searchStr:findtxt,
102
- dir:-1,
103
- casesensitive:getMatchCase("matchCase")
104
- };
105
- if (!frCommond(obj)) {
106
- $G('search-msg').innerHTML = lang.getStart;
107
- }
108
- };
109
- $G("preReplaceBtn").onclick = function (txt, dir, mcase) {
110
- var findtxt = $G("findtxt1").value, obj;
111
- if (!findtxt) {
112
- return false;
113
- }
114
- obj = {
115
- searchStr:findtxt,
116
- dir:-1,
117
- casesensitive:getMatchCase("matchCase1")
118
- };
119
- frCommond(obj);
120
- };
121
- //替换
122
- $G("repalceBtn").onclick = function () {
123
- var findtxt = $G("findtxt1").value.replace(/^\s|\s$/g, ""), obj,
124
- replacetxt = $G("replacetxt").value.replace(/^\s|\s$/g, "");
125
- if (!findtxt) {
126
- return false;
127
- }
128
- if (findtxt == replacetxt || (!getMatchCase("matchCase1") && findtxt.toLowerCase() == replacetxt.toLowerCase())) {
129
- return false;
130
- }
131
- obj = {
132
- searchStr:findtxt,
133
- dir:1,
134
- casesensitive:getMatchCase("matchCase1"),
135
- replaceStr:replacetxt
136
- };
137
- frCommond(obj);
138
- };
139
- //全部替换
140
- $G("repalceAllBtn").onclick = function () {
141
- var findtxt = $G("findtxt1").value.replace(/^\s|\s$/g, ""), obj,
142
- replacetxt = $G("replacetxt").value.replace(/^\s|\s$/g, "");
143
- if (!findtxt) {
144
- return false;
145
- }
146
- if (findtxt == replacetxt || (!getMatchCase("matchCase1") && findtxt.toLowerCase() == replacetxt.toLowerCase())) {
147
- return false;
148
- }
149
- obj = {
150
- searchStr:findtxt,
151
- casesensitive:getMatchCase("matchCase1"),
152
- replaceStr:replacetxt,
153
- all:true
154
- };
155
- var num = frCommond(obj);
156
- if (num) {
157
- $G('replace-msg').innerHTML = lang.countMsg.replace("{#count}", num);
158
- }
159
- };
160
- //执行
161
- var frCommond = function (obj) {
162
- return editor.execCommand("searchreplace", obj);
163
- };
164
- switchTab("searchtab");
@@ -1,58 +0,0 @@
1
- <!DOCTYPE HTML>
2
- <html>
3
- <head>
4
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
5
- <title></title>
6
- <script type="text/javascript" src="../internal.js"></script>
7
- <style type="text/css">
8
- *{color: #838383}
9
- html,body {
10
- font-size: 12px;
11
- width:100%;
12
- height:100%;
13
- overflow: hidden;
14
- margin:0px;
15
- padding:0px;
16
- }
17
- h2 { font-size: 16px; margin: 20px auto;}
18
- .content{
19
- padding:5px 15px 0 15px;
20
- height:100%;
21
- }
22
- dt,dd { margin-left: 0; padding-left: 0;}
23
- dt a { display: block;
24
- height: 30px;
25
- line-height: 30px;
26
- width: 55px;
27
- background: #EFEFEF;
28
- border: 1px solid #CCC;
29
- padding: 0 10px;
30
- text-decoration: none;
31
- }
32
- dt a:hover{
33
- background: #e0e0e0;
34
- border-color: #999
35
- }
36
- dt a:active{
37
- background: #ccc;
38
- border-color: #999;
39
- color: #666;
40
- }
41
- dd { line-height:20px;margin-top: 10px;}
42
- span{ padding-right:4px;}
43
- input{width:210px;height:21px;background: #FFF;border:1px solid #d7d7d7;padding: 0px; margin: 0px; }
44
-
45
-
46
- </style>
47
- </head>
48
- <body>
49
- <div class="content">
50
- <h2><var id="lang_showMsg"></var></h2>
51
- <dl>
52
- <dt><a href="../../third-party/snapscreen/UEditorSnapscreen.exe" target="_blank" id="downlink"><var id="lang_download"></var></a></dt>
53
- <dd><var id="lang_step1"></var></dd>
54
- <dd><var id="lang_step2"></var></dd>
55
- </dl>
56
- </div>
57
- </body>
58
- </html>
@@ -1,21 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2
- "http://www.w3.org/TR/html4/loose.dtd">
3
- <html>
4
- <head>
5
- <title></title>
6
- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
7
- <script type="text/javascript" src="../internal.js"></script>
8
- <style type="text/css">
9
- html,body{overflow:hidden;}
10
- #specharsTab{width: 97%;margin: 10px auto; zoom:1;position: relative}
11
- .tabbody {height:447px;}
12
- .tabbody span{ margin: 5px 3px;text-align: center;display:inline-block;width: 40px;height:16px;line-height: 16px;cursor: pointer; }
13
- </style>
14
- </head>
15
- <body>
16
- <div id="specharsTab">
17
- <div id="tabHeads" class="tabhead"></div><div id="tabBodys" class="tabbody"></div>
18
- </div>
19
- <script type="text/javascript" src="spechars.js"></script>
20
- </body>
21
- </html>
@@ -1,57 +0,0 @@
1
- /**
2
- * Created with JetBrains PhpStorm.
3
- * User: xuheng
4
- * Date: 12-9-26
5
- * Time: 下午1:09
6
- * To change this template use File | Settings | File Templates.
7
- */
8
- var charsContent = [
9
- { name:"tsfh", title:lang.tsfh, content:toArray("、,。,·,ˉ,ˇ,¨,〃,々,—,~,‖,…,‘,’,“,”,〔,〕,〈,〉,《,》,「,」,『,』,〖,〗,【,】,±,×,÷,∶,∧,∨,∑,∏,∪,∩,∈,∷,√,⊥,∥,∠,⌒,⊙,∫,∮,≡,≌,≈,∽,∝,≠,≮,≯,≤,≥,∞,∵,∴,♂,♀,°,′,″,℃,$,¤,¢,£,‰,§,№,☆,★,○,●,◎,◇,◆,□,■,△,▲,※,→,←,↑,↓,〓,〡,〢,〣,〤,〥,〦,〧,〨,〩,㊣,㎎,㎏,㎜,㎝,㎞,㎡,㏄,㏎,㏑,㏒,㏕,︰,¬,¦,℡,ˊ,ˋ,˙,–,―,‥,‵,℅,℉,↖,↗,↘,↙,∕,∟,∣,≒,≦,≧,⊿,═,║,╒,╓,╔,╕,╖,╗,╘,╙,╚,╛,╜,╝,╞,╟,╠,╡,╢,╣,╤,╥,╦,╧,╨,╩,╪,╫,╬,╭,╮,╯,╰,╱,╲,╳,▁,▂,▃,▄,▅,▆,▇,�,█,▉,▊,▋,▌,▍,▎,▏,▓,▔,▕,▼,▽,◢,◣,◤,◥,☉,⊕,〒,〝,〞")},
10
- { name:"lmsz", title:lang.lmsz, content:toArray("ⅰ,ⅱ,ⅲ,ⅳ,ⅴ,ⅵ,ⅶ,ⅷ,ⅸ,ⅹ,Ⅰ,Ⅱ,Ⅲ,Ⅳ,Ⅴ,Ⅵ,Ⅶ,Ⅷ,Ⅸ,Ⅹ,Ⅺ,Ⅻ")},
11
- { name:"szfh", title:lang.szfh, content:toArray("⒈,⒉,⒊,⒋,⒌,⒍,⒎,⒏,⒐,⒑,⒒,⒓,⒔,⒕,⒖,⒗,⒘,⒙,⒚,⒛,⑴,⑵,⑶,⑷,⑸,⑹,⑺,⑻,⑼,⑽,⑾,⑿,⒀,⒁,⒂,⒃,⒄,⒅,⒆,⒇,①,②,③,④,⑤,⑥,⑦,⑧,⑨,⑩,㈠,㈡,㈢,㈣,㈤,㈥,㈦,㈧,㈨,㈩")},
12
- { name:"rwfh", title:lang.rwfh, content:toArray("ぁ,あ,ぃ,い,ぅ,う,ぇ,え,ぉ,お,か,が,き,ぎ,く,ぐ,け,げ,こ,ご,さ,ざ,し,じ,す,ず,せ,ぜ,そ,ぞ,た,だ,ち,ぢ,っ,つ,づ,て,で,と,ど,な,に,ぬ,ね,の,は,ば,ぱ,ひ,び,ぴ,ふ,ぶ,ぷ,へ,べ,ぺ,ほ,ぼ,ぽ,ま,み,む,め,も,ゃ,や,ゅ,ゆ,ょ,よ,ら,り,る,れ,ろ,ゎ,わ,ゐ,ゑ,を,ん,ァ,ア,ィ,イ,ゥ,ウ,ェ,エ,ォ,オ,カ,ガ,キ,ギ,ク,グ,ケ,ゲ,コ,ゴ,サ,ザ,シ,ジ,ス,ズ,セ,ゼ,ソ,ゾ,タ,ダ,チ,ヂ,ッ,ツ,ヅ,テ,デ,ト,ド,ナ,ニ,ヌ,ネ,ノ,ハ,バ,パ,ヒ,ビ,ピ,フ,ブ,プ,ヘ,ベ,ペ,ホ,ボ,ポ,マ,ミ,ム,メ,モ,ャ,ヤ,ュ,ユ,ョ,ヨ,ラ,リ,ル,レ,ロ,ヮ,ワ,ヰ,ヱ,ヲ,ン,ヴ,ヵ,ヶ")},
13
- { name:"xlzm", title:lang.xlzm, content:toArray("Α,Β,Γ,Δ,Ε,Ζ,Η,Θ,Ι,Κ,Λ,Μ,Ν,Ξ,Ο,Π,Ρ,Σ,Τ,Υ,Φ,Χ,Ψ,Ω,α,β,γ,δ,ε,ζ,η,θ,ι,κ,λ,μ,ν,ξ,ο,π,ρ,σ,τ,υ,φ,χ,ψ,ω")},
14
- { name:"ewzm", title:lang.ewzm, content:toArray("А,Б,В,Г,Д,Е,Ё,Ж,З,И,Й,К,Л,М,Н,О,П,Р,С,Т,У,Ф,Х,Ц,Ч,Ш,Щ,Ъ,Ы,Ь,Э,Ю,Я,а,б,в,г,д,е,ё,ж,з,и,й,к,л,м,н,о,п,р,с,т,у,ф,х,ц,ч,ш,щ,ъ,ы,ь,э,ю,я")},
15
- { name:"pyzm", title:lang.pyzm, content:toArray("ā,á,ǎ,à,ē,é,ě,è,ī,í,ǐ,ì,ō,ó,ǒ,ò,ū,ú,ǔ,ù,ǖ,ǘ,ǚ,ǜ,ü")},
16
- { name:"yyyb", title:lang.yyyb, content:toArray("i:,i,e,æ,ʌ,ə:,ə,u:,u,ɔ:,ɔ,a:,ei,ai,ɔi,əu,au,iə,εə,uə,p,t,k,b,d,g,f,s,ʃ,θ,h,v,z,ʒ,ð,tʃ,tr,ts,dʒ,dr,dz,m,n,ŋ,l,r,w,j,")},
17
- { name:"zyzf", title:lang.zyzf, content:toArray("ㄅ,ㄆ,ㄇ,ㄈ,ㄉ,ㄊ,ㄋ,ㄌ,ㄍ,ㄎ,ㄏ,ㄐ,ㄑ,ㄒ,ㄓ,ㄔ,ㄕ,ㄖ,ㄗ,ㄘ,ㄙ,ㄚ,ㄛ,ㄜ,ㄝ,ㄞ,ㄟ,ㄠ,ㄡ,ㄢ,ㄣ,ㄤ,ㄥ,ㄦ,ㄧ,ㄨ")}
18
- ];
19
- (function createTab(content) {
20
- for (var i = 0, ci; ci = content[i++];) {
21
- var span = document.createElement("span");
22
- span.setAttribute("tabSrc", ci.name);
23
- span.innerHTML = ci.title;
24
- if (i == 1)span.className = "focus";
25
- domUtils.on(span, "click", function () {
26
- var tmps = $G("tabHeads").children;
27
- for (var k = 0, sk; sk = tmps[k++];) {
28
- sk.className = "";
29
- }
30
- tmps = $G("tabBodys").children;
31
- for (var k = 0, sk; sk = tmps[k++];) {
32
- sk.style.display = "none";
33
- }
34
- this.className = "focus";
35
- $G(this.getAttribute("tabSrc")).style.display = "";
36
- });
37
- $G("tabHeads").appendChild(span);
38
- domUtils.insertAfter(span, document.createTextNode("\n"));
39
- var div = document.createElement("div");
40
- div.id = ci.name;
41
- div.style.display = (i == 1) ? "" : "none";
42
- var cons = ci.content;
43
- for (var j = 0, con; con = cons[j++];) {
44
- var charSpan = document.createElement("span");
45
- charSpan.innerHTML = con;
46
- domUtils.on(charSpan, "click", function () {
47
- editor.execCommand("insertHTML", this.innerHTML);
48
- dialog.close();
49
- });
50
- div.appendChild(charSpan);
51
- }
52
- $G("tabBodys").appendChild(div);
53
- }
54
- })(charsContent);
55
- function toArray(str) {
56
- return str.split(",");
57
- }
@@ -1,84 +0,0 @@
1
- body{
2
- overflow: hidden;
3
- width: 540px;
4
- }
5
- .wrapper {
6
- margin: 10px auto 0;
7
- font-size: 12px;
8
- overflow: hidden;
9
- width: 520px;
10
- height: 315px;
11
- }
12
-
13
- .clear {
14
- clear: both;
15
- }
16
-
17
- .wrapper .left {
18
- float: left;
19
- margin-left: 10px;;
20
- }
21
-
22
- .wrapper .right {
23
- float: right;
24
- border-left: 2px dotted #EDEDED;
25
- padding-left: 15px;
26
- }
27
-
28
- .section {
29
- margin-bottom: 15px;
30
- width: 240px;
31
- overflow: hidden;
32
- }
33
-
34
- .section h3 {
35
- font-weight: bold;
36
- padding: 5px 0;
37
- margin-bottom: 10px;
38
- border-bottom: 1px solid #EDEDED;
39
- font-size: 12px;
40
- }
41
-
42
- .section ul {
43
- list-style: none;
44
- overflow: hidden;
45
- clear: both;
46
-
47
- }
48
-
49
- .section li {
50
- float: left;
51
- width: 120px;;
52
- }
53
-
54
- .section .tone {
55
- width: 80px;;
56
- }
57
-
58
- .section .preview {
59
- width: 220px;
60
- }
61
-
62
- .section .preview table {
63
- text-align: center;
64
- vertical-align: middle;
65
- color: #666;
66
- }
67
-
68
- .section .preview caption {
69
- font-weight: bold;
70
- }
71
-
72
- .section .preview td {
73
- border-width: 1px;
74
- border-style: solid;
75
- height: 22px;
76
- }
77
-
78
- .section .preview th {
79
- border-style: solid;
80
- border-color: #DDD;
81
- border-width: 2px 1px 1px 1px;
82
- height: 22px;
83
- background-color: #F7F7F7;
84
- }