baidu_ueditor_rails5 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (277) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/app/assets/javascripts/baidu_ueditor.js +1 -1
  4. data/app/assets/javascripts/ueditor/dialogs/anchor/anchor.html +40 -0
  5. data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.css +681 -0
  6. data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.html +60 -0
  7. data/app/assets/javascripts/ueditor/dialogs/attachment/attachment.js +754 -0
  8. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_chm.gif +0 -0
  9. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_default.png +0 -0
  10. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_doc.gif +0 -0
  11. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_exe.gif +0 -0
  12. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_jpg.gif +0 -0
  13. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mp3.gif +0 -0
  14. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_mv.gif +0 -0
  15. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_pdf.gif +0 -0
  16. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_ppt.gif +0 -0
  17. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_psd.gif +0 -0
  18. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_rar.gif +0 -0
  19. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_txt.gif +0 -0
  20. data/app/assets/javascripts/ueditor/dialogs/attachment/fileTypeImages/icon_xls.gif +0 -0
  21. data/app/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.gif +0 -0
  22. data/app/assets/javascripts/ueditor/dialogs/attachment/images/alignicon.png +0 -0
  23. data/app/assets/javascripts/ueditor/dialogs/attachment/images/bg.png +0 -0
  24. data/app/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.gif +0 -0
  25. data/app/assets/javascripts/ueditor/dialogs/attachment/images/file-icons.png +0 -0
  26. data/app/assets/javascripts/ueditor/dialogs/attachment/images/icons.gif +0 -0
  27. data/app/assets/javascripts/ueditor/dialogs/attachment/images/icons.png +0 -0
  28. data/app/assets/javascripts/ueditor/dialogs/attachment/images/image.png +0 -0
  29. data/app/assets/javascripts/ueditor/dialogs/attachment/images/progress.png +0 -0
  30. data/app/assets/javascripts/ueditor/dialogs/attachment/images/success.gif +0 -0
  31. data/app/assets/javascripts/ueditor/dialogs/attachment/images/success.png +0 -0
  32. data/app/assets/javascripts/ueditor/dialogs/background/background.css +94 -0
  33. data/app/assets/javascripts/ueditor/dialogs/background/background.html +56 -0
  34. data/app/assets/javascripts/ueditor/dialogs/background/background.js +376 -0
  35. data/app/assets/javascripts/ueditor/dialogs/background/images/bg.png +0 -0
  36. data/app/assets/javascripts/ueditor/dialogs/background/images/success.png +0 -0
  37. data/app/assets/javascripts/ueditor/dialogs/charts/chart.config.js +65 -0
  38. data/app/assets/javascripts/ueditor/dialogs/charts/charts.css +165 -0
  39. data/app/assets/javascripts/ueditor/dialogs/charts/charts.html +89 -0
  40. data/app/assets/javascripts/ueditor/dialogs/charts/charts.js +519 -0
  41. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts0.png +0 -0
  42. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts1.png +0 -0
  43. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts2.png +0 -0
  44. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts3.png +0 -0
  45. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts4.png +0 -0
  46. data/app/assets/javascripts/ueditor/dialogs/charts/images/charts5.png +0 -0
  47. data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.css +43 -0
  48. data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.html +54 -0
  49. data/app/assets/javascripts/ueditor/dialogs/emotion/emotion.js +186 -0
  50. data/app/assets/javascripts/ueditor/dialogs/emotion/images/0.gif +0 -0
  51. data/app/assets/javascripts/ueditor/dialogs/emotion/images/bface.gif +0 -0
  52. data/app/assets/javascripts/ueditor/dialogs/emotion/images/cface.gif +0 -0
  53. data/app/assets/javascripts/ueditor/dialogs/emotion/images/fface.gif +0 -0
  54. data/app/assets/javascripts/ueditor/dialogs/emotion/images/jxface2.gif +0 -0
  55. data/app/assets/javascripts/ueditor/dialogs/emotion/images/neweditor-tab-bg.png +0 -0
  56. data/app/assets/javascripts/ueditor/dialogs/emotion/images/tface.gif +0 -0
  57. data/app/assets/javascripts/ueditor/dialogs/emotion/images/wface.gif +0 -0
  58. data/app/assets/javascripts/ueditor/dialogs/emotion/images/yface.gif +0 -0
  59. data/app/assets/javascripts/ueditor/dialogs/gmap/gmap.html +89 -0
  60. data/app/assets/javascripts/ueditor/dialogs/help/help.css +7 -0
  61. data/app/assets/javascripts/ueditor/dialogs/help/help.html +82 -0
  62. data/app/assets/javascripts/ueditor/dialogs/help/help.js +56 -0
  63. data/app/assets/javascripts/ueditor/dialogs/image/image.css +894 -0
  64. data/app/assets/javascripts/ueditor/dialogs/image/image.html +120 -0
  65. data/app/assets/javascripts/ueditor/dialogs/image/image.js +1142 -0
  66. data/app/assets/javascripts/ueditor/dialogs/image/images/alignicon.jpg +0 -0
  67. data/app/assets/javascripts/ueditor/dialogs/image/images/bg.png +0 -0
  68. data/app/assets/javascripts/ueditor/dialogs/image/images/icons.gif +0 -0
  69. data/app/assets/javascripts/ueditor/dialogs/image/images/icons.png +0 -0
  70. data/app/assets/javascripts/ueditor/dialogs/image/images/image.png +0 -0
  71. data/app/assets/javascripts/ueditor/dialogs/image/images/progress.png +0 -0
  72. data/app/assets/javascripts/ueditor/dialogs/image/images/success.gif +0 -0
  73. data/app/assets/javascripts/ueditor/dialogs/image/images/success.png +0 -0
  74. data/app/assets/javascripts/ueditor/dialogs/insertframe/insertframe.html +98 -0
  75. data/app/assets/javascripts/ueditor/dialogs/internal.js +81 -0
  76. data/app/assets/javascripts/ueditor/dialogs/link/link.html +126 -0
  77. data/app/assets/javascripts/ueditor/dialogs/map/map.html +135 -0
  78. data/app/assets/javascripts/ueditor/dialogs/map/show.html +118 -0
  79. data/app/assets/javascripts/ueditor/dialogs/music/music.css +30 -0
  80. data/app/assets/javascripts/ueditor/dialogs/music/music.html +32 -0
  81. data/app/assets/javascripts/ueditor/dialogs/music/music.js +192 -0
  82. data/app/assets/javascripts/ueditor/dialogs/preview/preview.html +40 -0
  83. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/addimg.png +0 -0
  84. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/brush.png +0 -0
  85. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/delimg.png +0 -0
  86. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/delimgH.png +0 -0
  87. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/empty.png +0 -0
  88. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/emptyH.png +0 -0
  89. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/eraser.png +0 -0
  90. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/redo.png +0 -0
  91. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/redoH.png +0 -0
  92. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/scale.png +0 -0
  93. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/scaleH.png +0 -0
  94. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/size.png +0 -0
  95. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/undo.png +0 -0
  96. data/app/assets/javascripts/ueditor/dialogs/scrawl/images/undoH.png +0 -0
  97. data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.css +72 -0
  98. data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.html +95 -0
  99. data/app/assets/javascripts/ueditor/dialogs/scrawl/scrawl.js +671 -0
  100. data/app/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.html +102 -0
  101. data/app/assets/javascripts/ueditor/dialogs/searchreplace/searchreplace.js +164 -0
  102. data/app/assets/javascripts/ueditor/dialogs/snapscreen/snapscreen.html +58 -0
  103. data/app/assets/javascripts/ueditor/dialogs/spechars/spechars.html +21 -0
  104. data/app/assets/javascripts/ueditor/dialogs/spechars/spechars.js +57 -0
  105. data/app/assets/javascripts/ueditor/dialogs/table/dragicon.png +0 -0
  106. data/app/assets/javascripts/ueditor/dialogs/table/edittable.css +84 -0
  107. data/app/assets/javascripts/ueditor/dialogs/table/edittable.html +64 -0
  108. data/app/assets/javascripts/ueditor/dialogs/table/edittable.js +237 -0
  109. data/app/assets/javascripts/ueditor/dialogs/table/edittd.html +61 -0
  110. data/app/assets/javascripts/ueditor/dialogs/table/edittip.html +33 -0
  111. data/app/assets/javascripts/ueditor/dialogs/template/config.js +42 -0
  112. data/app/assets/javascripts/ueditor/dialogs/template/images/bg.gif +0 -0
  113. data/app/assets/javascripts/ueditor/dialogs/template/images/pre0.png +0 -0
  114. data/app/assets/javascripts/ueditor/dialogs/template/images/pre1.png +0 -0
  115. data/app/assets/javascripts/ueditor/dialogs/template/images/pre2.png +0 -0
  116. data/app/assets/javascripts/ueditor/dialogs/template/images/pre3.png +0 -0
  117. data/app/assets/javascripts/ueditor/dialogs/template/images/pre4.png +0 -0
  118. data/app/assets/javascripts/ueditor/dialogs/template/template.css +18 -0
  119. data/app/assets/javascripts/ueditor/dialogs/template/template.html +26 -0
  120. data/app/assets/javascripts/ueditor/dialogs/template/template.js +53 -0
  121. data/app/assets/javascripts/ueditor/dialogs/video/images/bg.png +0 -0
  122. data/app/assets/javascripts/ueditor/dialogs/video/images/center_focus.jpg +0 -0
  123. data/app/assets/javascripts/ueditor/dialogs/video/images/file-icons.gif +0 -0
  124. data/app/assets/javascripts/ueditor/dialogs/video/images/file-icons.png +0 -0
  125. data/app/assets/javascripts/ueditor/dialogs/video/images/icons.gif +0 -0
  126. data/app/assets/javascripts/ueditor/dialogs/video/images/icons.png +0 -0
  127. data/app/assets/javascripts/ueditor/dialogs/video/images/image.png +0 -0
  128. data/app/assets/javascripts/ueditor/dialogs/video/images/left_focus.jpg +0 -0
  129. data/app/assets/javascripts/ueditor/dialogs/video/images/none_focus.jpg +0 -0
  130. data/app/assets/javascripts/ueditor/dialogs/video/images/progress.png +0 -0
  131. data/app/assets/javascripts/ueditor/dialogs/video/images/right_focus.jpg +0 -0
  132. data/app/assets/javascripts/ueditor/dialogs/video/images/success.gif +0 -0
  133. data/app/assets/javascripts/ueditor/dialogs/video/images/success.png +0 -0
  134. data/app/assets/javascripts/ueditor/dialogs/video/video.css +635 -0
  135. data/app/assets/javascripts/ueditor/dialogs/video/video.html +86 -0
  136. data/app/assets/javascripts/ueditor/dialogs/video/video.js +791 -0
  137. data/app/assets/javascripts/ueditor/dialogs/webapp/webapp.html +53 -0
  138. data/app/assets/javascripts/ueditor/dialogs/wordimage/fClipboard_ueditor.swf +0 -0
  139. data/app/assets/javascripts/ueditor/dialogs/wordimage/imageUploader.swf +0 -0
  140. data/app/assets/javascripts/ueditor/dialogs/wordimage/tangram.js +1495 -0
  141. data/app/assets/javascripts/ueditor/dialogs/wordimage/wordimage.html +111 -0
  142. data/app/assets/javascripts/ueditor/dialogs/wordimage/wordimage.js +157 -0
  143. data/app/assets/javascripts/ueditor/index.html +175 -0
  144. data/app/assets/javascripts/ueditor/lang/en/en.js +684 -0
  145. data/app/assets/javascripts/ueditor/lang/en/images/addimage.png +0 -0
  146. data/app/assets/javascripts/ueditor/lang/en/images/alldeletebtnhoverskin.png +0 -0
  147. data/app/assets/javascripts/ueditor/lang/en/images/alldeletebtnupskin.png +0 -0
  148. data/app/assets/javascripts/ueditor/lang/en/images/background.png +0 -0
  149. data/app/assets/javascripts/ueditor/lang/en/images/button.png +0 -0
  150. data/app/assets/javascripts/ueditor/lang/en/images/copy.png +0 -0
  151. data/app/assets/javascripts/ueditor/lang/en/images/deletedisable.png +0 -0
  152. data/app/assets/javascripts/ueditor/lang/en/images/deleteenable.png +0 -0
  153. data/app/assets/javascripts/ueditor/lang/en/images/listbackground.png +0 -0
  154. data/app/assets/javascripts/ueditor/lang/en/images/localimage.png +0 -0
  155. data/app/assets/javascripts/ueditor/lang/en/images/music.png +0 -0
  156. data/app/assets/javascripts/ueditor/lang/en/images/rotateleftdisable.png +0 -0
  157. data/app/assets/javascripts/ueditor/lang/en/images/rotateleftenable.png +0 -0
  158. data/app/assets/javascripts/ueditor/lang/en/images/rotaterightdisable.png +0 -0
  159. data/app/assets/javascripts/ueditor/lang/en/images/rotaterightenable.png +0 -0
  160. data/app/assets/javascripts/ueditor/lang/en/images/upload.png +0 -0
  161. data/app/assets/javascripts/ueditor/lang/zh-cn/images/copy.png +0 -0
  162. data/app/assets/javascripts/ueditor/lang/zh-cn/images/localimage.png +0 -0
  163. data/app/assets/javascripts/ueditor/lang/zh-cn/images/music.png +0 -0
  164. data/app/assets/javascripts/ueditor/lang/zh-cn/images/upload.png +0 -0
  165. data/app/assets/javascripts/ueditor/lang/zh-cn/zh-cn.js +669 -0
  166. data/app/assets/javascripts/ueditor/themes/default/css/ueditor.css +1903 -0
  167. data/app/assets/javascripts/ueditor/themes/default/css/ueditor.min.css +8 -0
  168. data/app/assets/javascripts/ueditor/themes/default/dialogbase.css +100 -0
  169. data/app/assets/javascripts/ueditor/themes/default/images/anchor.gif +0 -0
  170. data/app/assets/javascripts/ueditor/themes/default/images/arrow.png +0 -0
  171. data/app/assets/javascripts/ueditor/themes/default/images/arrow_down.png +0 -0
  172. data/app/assets/javascripts/ueditor/themes/default/images/arrow_up.png +0 -0
  173. data/app/assets/javascripts/ueditor/themes/default/images/button-bg.gif +0 -0
  174. data/app/assets/javascripts/ueditor/themes/default/images/cancelbutton.gif +0 -0
  175. data/app/assets/javascripts/ueditor/themes/default/images/charts.png +0 -0
  176. data/app/assets/javascripts/ueditor/themes/default/images/cursor_h.gif +0 -0
  177. data/app/assets/javascripts/ueditor/themes/default/images/cursor_h.png +0 -0
  178. data/app/assets/javascripts/ueditor/themes/default/images/cursor_v.gif +0 -0
  179. data/app/assets/javascripts/ueditor/themes/default/images/cursor_v.png +0 -0
  180. data/app/assets/javascripts/ueditor/themes/default/images/dialog-title-bg.png +0 -0
  181. data/app/assets/javascripts/ueditor/themes/default/images/filescan.png +0 -0
  182. data/app/assets/javascripts/ueditor/themes/default/images/highlighted.gif +0 -0
  183. data/app/assets/javascripts/ueditor/themes/default/images/icons-all.gif +0 -0
  184. data/app/assets/javascripts/ueditor/themes/default/images/icons.gif +0 -0
  185. data/app/assets/javascripts/ueditor/themes/default/images/icons.png +0 -0
  186. data/app/assets/javascripts/ueditor/themes/default/images/loaderror.png +0 -0
  187. data/app/assets/javascripts/ueditor/themes/default/images/loading.gif +0 -0
  188. data/app/assets/javascripts/ueditor/themes/default/images/lock.gif +0 -0
  189. data/app/assets/javascripts/ueditor/themes/default/images/neweditor-tab-bg.png +0 -0
  190. data/app/assets/javascripts/ueditor/themes/default/images/pagebreak.gif +0 -0
  191. data/app/assets/javascripts/ueditor/themes/default/images/scale.png +0 -0
  192. data/app/assets/javascripts/ueditor/themes/default/images/sortable.png +0 -0
  193. data/app/assets/javascripts/ueditor/themes/default/images/spacer.gif +0 -0
  194. data/app/assets/javascripts/ueditor/themes/default/images/sparator_v.png +0 -0
  195. data/app/assets/javascripts/ueditor/themes/default/images/table-cell-align.png +0 -0
  196. data/app/assets/javascripts/ueditor/themes/default/images/tangram-colorpicker.png +0 -0
  197. data/app/assets/javascripts/ueditor/themes/default/images/toolbar_bg.png +0 -0
  198. data/app/assets/javascripts/ueditor/themes/default/images/unhighlighted.gif +0 -0
  199. data/app/assets/javascripts/ueditor/themes/default/images/upload.png +0 -0
  200. data/app/assets/javascripts/ueditor/themes/default/images/videologo.gif +0 -0
  201. data/app/assets/javascripts/ueditor/themes/default/images/word.gif +0 -0
  202. data/app/assets/javascripts/ueditor/themes/default/images/wordpaste.png +0 -0
  203. data/app/assets/javascripts/ueditor/themes/iframe.css +1 -0
  204. data/app/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCore.js +3655 -0
  205. data/app/assets/javascripts/ueditor/third-party/SyntaxHighlighter/shCoreDefault.css +1 -0
  206. data/app/assets/javascripts/ueditor/third-party/codemirror/codemirror.css +104 -0
  207. data/app/assets/javascripts/ueditor/third-party/codemirror/codemirror.js +3581 -0
  208. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.js +13 -0
  209. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/mootools-adapter.src.js +313 -0
  210. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.js +15 -0
  211. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/prototype-adapter.src.js +316 -0
  212. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.js +17 -0
  213. data/app/assets/javascripts/ueditor/third-party/highcharts/adapters/standalone-framework.src.js +583 -0
  214. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.js +50 -0
  215. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts-more.src.js +2430 -0
  216. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts.js +283 -0
  217. data/app/assets/javascripts/ueditor/third-party/highcharts/highcharts.src.js +16974 -0
  218. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.js +7 -0
  219. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/annotations.src.js +401 -0
  220. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.js +133 -0
  221. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/canvas-tools.src.js +3113 -0
  222. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/data.js +17 -0
  223. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/data.src.js +582 -0
  224. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.js +11 -0
  225. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/drilldown.src.js +447 -0
  226. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.js +22 -0
  227. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/exporting.src.js +709 -0
  228. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.js +12 -0
  229. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/funnel.src.js +289 -0
  230. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.js +1 -0
  231. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/heatmap.src.js +53 -0
  232. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/map.js +27 -0
  233. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/map.src.js +1002 -0
  234. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.js +12 -0
  235. data/app/assets/javascripts/ueditor/third-party/highcharts/modules/no-data-to-display.src.js +128 -0
  236. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/dark-blue.js +254 -0
  237. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/dark-green.js +255 -0
  238. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/gray.js +257 -0
  239. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/grid.js +103 -0
  240. data/app/assets/javascripts/ueditor/third-party/highcharts/themes/skies.js +89 -0
  241. data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.js +9789 -0
  242. data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.js +6 -0
  243. data/app/assets/javascripts/ueditor/third-party/jquery-1.10.2.min.map +1 -0
  244. data/app/assets/javascripts/ueditor/third-party/snapscreen/UEditorSnapscreen.exe +0 -0
  245. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.eot +0 -0
  246. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.svg +65 -0
  247. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.ttf +0 -0
  248. data/app/assets/javascripts/ueditor/third-party/video-js/font/vjs.woff +0 -0
  249. data/app/assets/javascripts/ueditor/third-party/video-js/video-js.css +766 -0
  250. data/app/assets/javascripts/ueditor/third-party/video-js/video-js.min.css +5 -0
  251. data/app/assets/javascripts/ueditor/third-party/video-js/video-js.swf +0 -0
  252. data/app/assets/javascripts/ueditor/third-party/video-js/video.dev.js +7108 -0
  253. data/app/assets/javascripts/ueditor/third-party/video-js/video.js +129 -0
  254. data/app/assets/javascripts/ueditor/third-party/webuploader/Uploader.swf +0 -0
  255. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.css +28 -0
  256. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.js +5670 -0
  257. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.custom.min.js +2 -0
  258. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.js +4176 -0
  259. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.flashonly.min.js +2 -0
  260. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.js +5559 -0
  261. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.html5only.min.js +2 -0
  262. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.js +6733 -0
  263. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.min.js +2 -0
  264. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.js +4593 -0
  265. data/app/assets/javascripts/ueditor/third-party/webuploader/webuploader.withoutimage.min.js +2 -0
  266. data/app/assets/javascripts/ueditor/third-party/xss.min.js +1 -0
  267. data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.js +1256 -0
  268. data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.min.js +9 -0
  269. data/app/assets/javascripts/ueditor/third-party/zeroclipboard/ZeroClipboard.swf +0 -0
  270. data/app/assets/javascripts/ueditor/ueditor.all.js +29568 -0
  271. data/app/assets/javascripts/ueditor/ueditor.all.min.js +18 -0
  272. data/app/assets/javascripts/ueditor/ueditor.config.js +497 -0
  273. data/app/assets/javascripts/ueditor/ueditor.parse.js +1022 -0
  274. data/app/assets/javascripts/ueditor/ueditor.parse.min.js +7 -0
  275. data/app/assets/javascripts/{ueditor → ueditor_custom}/preinit.js.erb +0 -0
  276. data/lib/baidu_ueditor_rails/version.rb +1 -1
  277. metadata +292 -21
@@ -0,0 +1,111 @@
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
+ .wrapper{width: 600px;padding: 10px;height: 352px;overflow: hidden;position: relative;border-bottom: 1px solid #d7d7d7}
10
+ .localPath input{float: left;width: 350px;line-height: 20px;height: 20px;}
11
+ #clipboard{float:left;width: 70px;height: 30px; }
12
+ .description{ color: #0066cc; margin-top: 2px; width: 450px; height: 45px;float: left;line-height: 22px}
13
+ #upload{width: 100px;height: 30px;float: right; margin:10px 2px 0 0;cursor: pointer;}
14
+ #msg{ width: 140px; height: 30px; line-height:25px;float: left;color: red}
15
+ </style>
16
+ </head>
17
+ <body>
18
+ <div class="wrapper">
19
+ <div class="localPath">
20
+ <input id="localPath" type="text" readonly />
21
+ <div id="clipboard"></div>
22
+ <div id="msg"></div>
23
+ </div>
24
+ <div id="flashContainer"></div>
25
+ <div>
26
+ <div id="upload" style="display: none" ><img id="uploadBtn"></div>
27
+ <div class="description">
28
+ <span style="color: red"><var id="lang_resave"></var>: </span><var id="lang_step"></var>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <script type="text/javascript" src="tangram.js"></script>
33
+ <script type="text/javascript" src="wordimage.js"></script>
34
+ <script type="text/javascript">
35
+ editor.setOpt({
36
+ wordImageFieldName:"upfile",
37
+ compressSide:0,
38
+ maxImageSideLength:900
39
+ });
40
+
41
+ //全局变量
42
+ var imageUrls = [], //用于保存从服务器返回的图片信息数组
43
+ selectedImageCount = 0, //当前已选择的但未上传的图片数量
44
+ optImageUrl = editor.getActionUrl(editor.getOpt('imageActionName')),
45
+ optImageFieldName = editor.getOpt('imageFieldName'),
46
+ optImageCompressBorder = editor.getOpt('imageCompressEnable') ? editor.getOpt('imageCompressBorder'):null,
47
+ maxSize = editor.getOpt('imageMaxSize') / 1024,
48
+ extension = editor.getOpt('imageAllowFiles').join(';').replace(/\./g, '*.');
49
+
50
+ /* 添加额外的GET参数 */
51
+ var params = utils.serializeParam(editor.queryCommandValue('serverparam')) || '',
52
+ urlWidthParams = optImageUrl + (optImageUrl.indexOf('?') == -1 ? '?':'&') + params;
53
+
54
+ utils.domReady(function(){
55
+ //创建Flash相关的参数集合
56
+ var flashOptions = {
57
+ container:"flashContainer", //flash容器id
58
+ url:urlWidthParams, // 上传处理页面的url地址
59
+ ext:editor.queryCommandValue('serverParam') || {}, //可向服务器提交的自定义参数列表
60
+ fileType:'{"description":"'+lang.fileType+'", "extension":"' + extension + '"}', //上传文件格式限制
61
+ flashUrl:'imageUploader.swf', //上传用的flash组件地址
62
+ width:600, //flash的宽度
63
+ height:272, //flash的高度
64
+ gridWidth:120, // 每一个预览图片所占的宽度
65
+ gridHeight:120, // 每一个预览图片所占的高度
66
+ picWidth:100, // 单张预览图片的宽度
67
+ picHeight:100, // 单张预览图片的高度
68
+ uploadDataFieldName: optImageFieldName, // POST请求中图片数据的key
69
+ picDescFieldName:'pictitle', // POST请求中图片描述的key
70
+ maxSize: maxSize, // 文件的最大体积,单位M
71
+ compressSize:1, // 上传前如果图片体积超过该值,会先压缩,单位M
72
+ maxNum:32, // 单次最大可上传多少个文件
73
+ compressSide: 0, //等比压缩的基准,0为按照最长边,1为按照宽度,2为按照高度
74
+ compressLength: optImageCompressBorder //能接受的最大边长,超过该值Flash会自动等比压缩
75
+ };
76
+ //回调函数集合,支持传递函数名的字符串、函数句柄以及函数本身三种类型
77
+ var callbacks={
78
+ selectFileCallback: function(selectFiles){ // 选择文件的回调
79
+ selectedImageCount += selectFiles.length;
80
+ if(selectedImageCount) baidu.g("upload").style.display = "";
81
+ dialog.buttons[0].setDisabled(true); //初始化时置灰确定按钮
82
+ },
83
+ deleteFileCallback: function(delFiles){ // 删除文件的回调
84
+ selectedImageCount -= delFiles.length;
85
+ if (!selectedImageCount) {
86
+ baidu.g("upload").style.display = "none";
87
+ dialog.buttons[0].setDisabled(false); //没有选择图片时重新点亮按钮
88
+ }
89
+ },
90
+ uploadCompleteCallback: function(data){ // 单个文件上传完成的回调
91
+ try{var info = eval("(" + data.info + ")");
92
+ info && imageUrls.push(info);
93
+ selectedImageCount--;
94
+ }catch(e){}
95
+ },
96
+ uploadErrorCallback: function (data){ // 单个文件上传失败的回调,
97
+ console && console.log(data);
98
+ },
99
+ allCompleteCallback: function(){ // 全部上传完成时的回调
100
+ dialog.buttons[0].setDisabled(false); //上传完毕后点亮按钮
101
+ }
102
+ //exceedFileCallback: 'exceedFileCallback', // 文件超出限制的最大体积时的回调
103
+ //startUploadCallback: startUploadCallback // 开始上传某个文件时的回调
104
+ };
105
+ wordImage.init(flashOptions,callbacks);
106
+ });
107
+
108
+ </script>
109
+
110
+ </body>
111
+ </html>
@@ -0,0 +1,157 @@
1
+ /**
2
+ * Created by JetBrains PhpStorm.
3
+ * User: taoqili
4
+ * Date: 12-1-30
5
+ * Time: 下午12:50
6
+ * To change this template use File | Settings | File Templates.
7
+ */
8
+
9
+
10
+
11
+ var wordImage = {};
12
+ //(function(){
13
+ var g = baidu.g,
14
+ flashObj,flashContainer;
15
+
16
+ wordImage.init = function(opt, callbacks) {
17
+ showLocalPath("localPath");
18
+ //createCopyButton("clipboard","localPath");
19
+ createFlashUploader(opt, callbacks);
20
+ addUploadListener();
21
+ addOkListener();
22
+ };
23
+
24
+ function hideFlash(){
25
+ flashObj = null;
26
+ flashContainer.innerHTML = "";
27
+ }
28
+ function addOkListener() {
29
+ dialog.onok = function() {
30
+ if (!imageUrls.length) return;
31
+ var urlPrefix = editor.getOpt('imageUrlPrefix'),
32
+ images = domUtils.getElementsByTagName(editor.document,"img");
33
+ editor.fireEvent('saveScene');
34
+ for (var i = 0,img; img = images[i++];) {
35
+ var src = img.getAttribute("word_img");
36
+ if (!src) continue;
37
+ for (var j = 0,url; url = imageUrls[j++];) {
38
+ if (src.indexOf(url.original.replace(" ","")) != -1) {
39
+ img.src = urlPrefix + url.url;
40
+ img.setAttribute("_src", urlPrefix + url.url); //同时修改"_src"属性
41
+ img.setAttribute("title",url.title);
42
+ domUtils.removeAttributes(img, ["word_img","style","width","height"]);
43
+ editor.fireEvent("selectionchange");
44
+ break;
45
+ }
46
+ }
47
+ }
48
+ editor.fireEvent('saveScene');
49
+ hideFlash();
50
+ };
51
+ dialog.oncancel = function(){
52
+ hideFlash();
53
+ }
54
+ }
55
+
56
+ /**
57
+ * 绑定开始上传事件
58
+ */
59
+ function addUploadListener() {
60
+ g("upload").onclick = function () {
61
+ flashObj.upload();
62
+ this.style.display = "none";
63
+ };
64
+ }
65
+
66
+ function showLocalPath(id) {
67
+ //单张编辑
68
+ var img = editor.selection.getRange().getClosedNode();
69
+ var images = editor.execCommand('wordimage');
70
+ if(images.length==1 || img && img.tagName == 'IMG'){
71
+ g(id).value = images[0];
72
+ return;
73
+ }
74
+ var path = images[0];
75
+ var leftSlashIndex = path.lastIndexOf("/")||0, //不同版本的doc和浏览器都可能影响到这个符号,故直接判断两种
76
+ rightSlashIndex = path.lastIndexOf("\\")||0,
77
+ separater = leftSlashIndex > rightSlashIndex ? "/":"\\" ;
78
+
79
+ path = path.substring(0, path.lastIndexOf(separater)+1);
80
+ g(id).value = path;
81
+ }
82
+
83
+ function createFlashUploader(opt, callbacks) {
84
+ //由于lang.flashI18n是静态属性,不可以直接进行修改,否则会影响到后续内容
85
+ var i18n = utils.extend({},lang.flashI18n);
86
+ //处理图片资源地址的编码,补全等问题
87
+ for(var i in i18n){
88
+ if(!(i in {"lang":1,"uploadingTF":1,"imageTF":1,"textEncoding":1}) && i18n[i]){
89
+ i18n[i] = encodeURIComponent(editor.options.langPath + editor.options.lang + "/images/" + i18n[i]);
90
+ }
91
+ }
92
+ opt = utils.extend(opt,i18n,false);
93
+ var option = {
94
+ createOptions:{
95
+ id:'flash',
96
+ url:opt.flashUrl,
97
+ width:opt.width,
98
+ height:opt.height,
99
+ errorMessage:lang.flashError,
100
+ wmode:browser.safari ? 'transparent' : 'window',
101
+ ver:'10.0.0',
102
+ vars:opt,
103
+ container:opt.container
104
+ }
105
+ };
106
+
107
+ option = extendProperty(callbacks, option);
108
+ flashObj = new baidu.flash.imageUploader(option);
109
+ flashContainer = $G(opt.container);
110
+ }
111
+
112
+ function extendProperty(fromObj, toObj) {
113
+ for (var i in fromObj) {
114
+ if (!toObj[i]) {
115
+ toObj[i] = fromObj[i];
116
+ }
117
+ }
118
+ return toObj;
119
+ }
120
+
121
+ //})();
122
+
123
+ function getPasteData(id) {
124
+ baidu.g("msg").innerHTML = lang.copySuccess + "</br>";
125
+ setTimeout(function() {
126
+ baidu.g("msg").innerHTML = "";
127
+ }, 5000);
128
+ return baidu.g(id).value;
129
+ }
130
+
131
+ function createCopyButton(id, dataFrom) {
132
+ baidu.swf.create({
133
+ id:"copyFlash",
134
+ url:"fClipboard_ueditor.swf",
135
+ width:"58",
136
+ height:"25",
137
+ errorMessage:"",
138
+ bgColor:"#CBCBCB",
139
+ wmode:"transparent",
140
+ ver:"10.0.0",
141
+ vars:{
142
+ tid:dataFrom
143
+ }
144
+ }, id
145
+ );
146
+
147
+ var clipboard = baidu.swf.getMovie("copyFlash");
148
+ var clipinterval = setInterval(function() {
149
+ if (clipboard && clipboard.flashInit) {
150
+ clearInterval(clipinterval);
151
+ clipboard.setHandCursor(true);
152
+ clipboard.setContentFuncName("getPasteData");
153
+ //clipboard.setMEFuncName("mouseEventHandler");
154
+ }
155
+ }, 500);
156
+ }
157
+ createCopyButton("clipboard", "localPath");
@@ -0,0 +1,175 @@
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>完整demo</title>
6
+ <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
7
+ <script type="text/javascript" charset="utf-8" src="ueditor.config.js"></script>
8
+ <script type="text/javascript" charset="utf-8" src="ueditor.all.min.js"> </script>
9
+ <!--建议手动加在语言,避免在ie下有时因为加载语言失败导致编辑器加载失败-->
10
+ <!--这里加载的语言文件会覆盖你在配置项目里添加的语言类型,比如你在配置项目里配置的是英文,这里加载的中文,那最后就是中文-->
11
+ <script type="text/javascript" charset="utf-8" src="lang/zh-cn/zh-cn.js"></script>
12
+
13
+ <style type="text/css">
14
+ div{
15
+ width:100%;
16
+ }
17
+ </style>
18
+ </head>
19
+ <body>
20
+ <div>
21
+ <h1>完整demo</h1>
22
+ <script id="editor" type="text/plain" style="width:1024px;height:500px;"></script>
23
+ </div>
24
+ <div id="btns">
25
+ <div>
26
+ <button onclick="getAllHtml()">获得整个html的内容</button>
27
+ <button onclick="getContent()">获得内容</button>
28
+ <button onclick="setContent()">写入内容</button>
29
+ <button onclick="setContent(true)">追加内容</button>
30
+ <button onclick="getContentTxt()">获得纯文本</button>
31
+ <button onclick="getPlainTxt()">获得带格式的纯文本</button>
32
+ <button onclick="hasContent()">判断是否有内容</button>
33
+ <button onclick="setFocus()">使编辑器获得焦点</button>
34
+ <button onmousedown="isFocus(event)">编辑器是否获得焦点</button>
35
+ <button onmousedown="setblur(event)" >编辑器失去焦点</button>
36
+
37
+ </div>
38
+ <div>
39
+ <button onclick="getText()">获得当前选中的文本</button>
40
+ <button onclick="insertHtml()">插入给定的内容</button>
41
+ <button id="enable" onclick="setEnabled()">可以编辑</button>
42
+ <button onclick="setDisabled()">不可编辑</button>
43
+ <button onclick=" UE.getEditor('editor').setHide()">隐藏编辑器</button>
44
+ <button onclick=" UE.getEditor('editor').setShow()">显示编辑器</button>
45
+ <button onclick=" UE.getEditor('editor').setHeight(300)">设置高度为300默认关闭了自动长高</button>
46
+ </div>
47
+
48
+ <div>
49
+ <button onclick="getLocalData()" >获取草稿箱内容</button>
50
+ <button onclick="clearLocalData()" >清空草稿箱</button>
51
+ </div>
52
+
53
+ </div>
54
+ <div>
55
+ <button onclick="createEditor()">
56
+ 创建编辑器</button>
57
+ <button onclick="deleteEditor()">
58
+ 删除编辑器</button>
59
+ </div>
60
+
61
+ <script type="text/javascript">
62
+
63
+ //实例化编辑器
64
+ //建议使用工厂方法getEditor创建和引用编辑器实例,如果在某个闭包下引用该编辑器,直接调用UE.getEditor('editor')就能拿到相关的实例
65
+ var ue = UE.getEditor('editor');
66
+
67
+
68
+ function isFocus(e){
69
+ alert(UE.getEditor('editor').isFocus());
70
+ UE.dom.domUtils.preventDefault(e)
71
+ }
72
+ function setblur(e){
73
+ UE.getEditor('editor').blur();
74
+ UE.dom.domUtils.preventDefault(e)
75
+ }
76
+ function insertHtml() {
77
+ var value = prompt('插入html代码', '');
78
+ UE.getEditor('editor').execCommand('insertHtml', value)
79
+ }
80
+ function createEditor() {
81
+ enableBtn();
82
+ UE.getEditor('editor');
83
+ }
84
+ function getAllHtml() {
85
+ alert(UE.getEditor('editor').getAllHtml())
86
+ }
87
+ function getContent() {
88
+ var arr = [];
89
+ arr.push("使用editor.getContent()方法可以获得编辑器的内容");
90
+ arr.push("内容为:");
91
+ arr.push(UE.getEditor('editor').getContent());
92
+ alert(arr.join("\n"));
93
+ }
94
+ function getPlainTxt() {
95
+ var arr = [];
96
+ arr.push("使用editor.getPlainTxt()方法可以获得编辑器的带格式的纯文本内容");
97
+ arr.push("内容为:");
98
+ arr.push(UE.getEditor('editor').getPlainTxt());
99
+ alert(arr.join('\n'))
100
+ }
101
+ function setContent(isAppendTo) {
102
+ var arr = [];
103
+ arr.push("使用editor.setContent('欢迎使用ueditor')方法可以设置编辑器的内容");
104
+ UE.getEditor('editor').setContent('欢迎使用ueditor', isAppendTo);
105
+ alert(arr.join("\n"));
106
+ }
107
+ function setDisabled() {
108
+ UE.getEditor('editor').setDisabled('fullscreen');
109
+ disableBtn("enable");
110
+ }
111
+
112
+ function setEnabled() {
113
+ UE.getEditor('editor').setEnabled();
114
+ enableBtn();
115
+ }
116
+
117
+ function getText() {
118
+ //当你点击按钮时编辑区域已经失去了焦点,如果直接用getText将不会得到内容,所以要在选回来,然后取得内容
119
+ var range = UE.getEditor('editor').selection.getRange();
120
+ range.select();
121
+ var txt = UE.getEditor('editor').selection.getText();
122
+ alert(txt)
123
+ }
124
+
125
+ function getContentTxt() {
126
+ var arr = [];
127
+ arr.push("使用editor.getContentTxt()方法可以获得编辑器的纯文本内容");
128
+ arr.push("编辑器的纯文本内容为:");
129
+ arr.push(UE.getEditor('editor').getContentTxt());
130
+ alert(arr.join("\n"));
131
+ }
132
+ function hasContent() {
133
+ var arr = [];
134
+ arr.push("使用editor.hasContents()方法判断编辑器里是否有内容");
135
+ arr.push("判断结果为:");
136
+ arr.push(UE.getEditor('editor').hasContents());
137
+ alert(arr.join("\n"));
138
+ }
139
+ function setFocus() {
140
+ UE.getEditor('editor').focus();
141
+ }
142
+ function deleteEditor() {
143
+ disableBtn();
144
+ UE.getEditor('editor').destroy();
145
+ }
146
+ function disableBtn(str) {
147
+ var div = document.getElementById('btns');
148
+ var btns = UE.dom.domUtils.getElementsByTagName(div, "button");
149
+ for (var i = 0, btn; btn = btns[i++];) {
150
+ if (btn.id == str) {
151
+ UE.dom.domUtils.removeAttributes(btn, ["disabled"]);
152
+ } else {
153
+ btn.setAttribute("disabled", "true");
154
+ }
155
+ }
156
+ }
157
+ function enableBtn() {
158
+ var div = document.getElementById('btns');
159
+ var btns = UE.dom.domUtils.getElementsByTagName(div, "button");
160
+ for (var i = 0, btn; btn = btns[i++];) {
161
+ UE.dom.domUtils.removeAttributes(btn, ["disabled"]);
162
+ }
163
+ }
164
+
165
+ function getLocalData () {
166
+ alert(UE.getEditor('editor').execCommand( "getlocaldata" ));
167
+ }
168
+
169
+ function clearLocalData () {
170
+ UE.getEditor('editor').execCommand( "clearlocaldata" );
171
+ alert("已清空草稿箱")
172
+ }
173
+ </script>
174
+ </body>
175
+ </html>
@@ -0,0 +1,684 @@
1
+ /**
2
+ * Created with JetBrains PhpStorm.
3
+ * User: taoqili
4
+ * Date: 12-6-12
5
+ * Time: 下午6:57
6
+ * To change this template use File | Settings | File Templates.
7
+ */
8
+ UE.I18N['en'] = {
9
+ 'labelMap':{
10
+ 'anchor':'Anchor', 'undo':'Undo', 'redo':'Redo', 'bold':'Bold', 'indent':'Indent', 'snapscreen':'SnapScreen',
11
+ 'italic':'Italic', 'underline':'Underline', 'strikethrough':'Strikethrough', 'subscript':'SubScript','fontborder':'text border',
12
+ 'superscript':'SuperScript', 'formatmatch':'Format Match', 'source':'Source', 'blockquote':'BlockQuote',
13
+ 'pasteplain':'PastePlain', 'selectall':'SelectAll', 'print':'Print', 'preview':'Preview',
14
+ 'horizontal':'Horizontal', 'removeformat':'RemoveFormat', 'time':'Time', 'date':'Date',
15
+ 'unlink':'Unlink', 'insertrow':'InsertRow', 'insertcol':'InsertCol', 'mergeright':'MergeRight', 'mergedown':'MergeDown',
16
+ 'deleterow':'DeleteRow', 'deletecol':'DeleteCol', 'splittorows':'SplitToRows','insertcode':'insert code',
17
+ 'splittocols':'SplitToCols', 'splittocells':'SplitToCells','deletecaption':'DeleteCaption','inserttitle':'InsertTitle',
18
+ 'mergecells':'MergeCells', 'deletetable':'DeleteTable', 'cleardoc':'Clear', 'insertparagraphbeforetable':"InsertParagraphBeforeTable",
19
+ 'fontfamily':'FontFamily', 'fontsize':'FontSize', 'paragraph':'Paragraph','simpleupload':'Single Image','insertimage':'Multi Image','edittable':'Edit Table', 'edittd':'Edit Td','link':'Link',
20
+ 'emotion':'Emotion', 'spechars':'Spechars', 'searchreplace':'SearchReplace', 'map':'BaiduMap', 'gmap':'GoogleMap',
21
+ 'insertvideo':'Video', 'help':'Help', 'justifyleft':'JustifyLeft', 'justifyright':'JustifyRight', 'justifycenter':'JustifyCenter',
22
+ 'justifyjustify':'Justify', 'forecolor':'FontColor', 'backcolor':'BackColor', 'insertorderedlist':'OL',
23
+ 'insertunorderedlist':'UL', 'fullscreen':'FullScreen', 'directionalityltr':'EnterFromLeft', 'directionalityrtl':'EnterFromRight',
24
+ 'rowspacingtop':'RowSpacingTop', 'rowspacingbottom':'RowSpacingBottom', 'pagebreak':'PageBreak', 'insertframe':'Iframe', 'imagenone':'Default',
25
+ 'imageleft':'ImageLeft', 'imageright':'ImageRight', 'attachment':'Attachment', 'imagecenter':'ImageCenter', 'wordimage':'WordImage',
26
+ 'lineheight':'LineHeight','edittip':'EditTip','customstyle':'CustomStyle', 'scrawl':'Scrawl', 'autotypeset':'AutoTypeset',
27
+ 'webapp':'WebAPP', 'touppercase':'UpperCase', 'tolowercase':'LowerCase','template':'Template','background':'Background','inserttable':'InsertTable',
28
+ 'music':'Music', 'charts': 'charts','drafts': 'Load from Drafts'
29
+ },
30
+ 'insertorderedlist':{
31
+ 'num':'1,2,3...',
32
+ 'num1':'1),2),3)...',
33
+ 'num2':'(1),(2),(3)...',
34
+ 'cn':'一,二,三....',
35
+ 'cn1':'一),二),三)....',
36
+ 'cn2':'(一),(二),(三)....',
37
+ 'decimal':'1,2,3...',
38
+ 'lower-alpha':'a,b,c...',
39
+ 'lower-roman':'i,ii,iii...',
40
+ 'upper-alpha':'A,B,C...',
41
+ 'upper-roman':'I,II,III...'
42
+ },
43
+ 'insertunorderedlist':{
44
+ 'circle':'○ Circle',
45
+ 'disc':'● Circle dot',
46
+ 'square':'■ Rectangle ',
47
+ 'dash' :'- Dash',
48
+ 'dot' : '。dot'
49
+ },
50
+ 'paragraph':{'p':'Paragraph', 'h1':'Title 1', 'h2':'Title 2', 'h3':'Title 3', 'h4':'Title 4', 'h5':'Title 5', 'h6':'Title 6'},
51
+ 'fontfamily':{
52
+ 'songti':'Sim Sun',
53
+ 'kaiti':'Sim Kai',
54
+ 'heiti':'Sim Hei',
55
+ 'lishu':'Sim Li',
56
+ 'yahei': 'Microsoft YaHei',
57
+ 'andaleMono':'Andale Mono',
58
+ 'arial': 'Arial',
59
+ 'arialBlack':'Arial Black',
60
+ 'comicSansMs':'Comic Sans MS',
61
+ 'impact':'Impact',
62
+ 'timesNewRoman':'Times New Roman'
63
+ },
64
+ 'customstyle':{
65
+ 'tc':'Title center',
66
+ 'tl':'Title left',
67
+ 'im':'Important',
68
+ 'hi':'Highlight'
69
+ },
70
+ 'autoupload': {
71
+ 'exceedSizeError': 'File Size Exceed',
72
+ 'exceedTypeError': 'File Type Not Allow',
73
+ 'jsonEncodeError': 'Server Return Format Error',
74
+ 'loading':"loading...",
75
+ 'loadError':"load error",
76
+ 'errorLoadConfig': 'Server config not loaded, upload can not work.',
77
+ },
78
+ 'simpleupload':{
79
+ 'exceedSizeError': 'File Size Exceed',
80
+ 'exceedTypeError': 'File Type Not Allow',
81
+ 'jsonEncodeError': 'Server Return Format Error',
82
+ 'loading':"loading...",
83
+ 'loadError':"load error",
84
+ 'errorLoadConfig': 'Server config not loaded, upload can not work.',
85
+ },
86
+ 'elementPathTip':"Path",
87
+ 'wordCountTip':"Word Count",
88
+ 'wordCountMsg':'{#count} characters entered,{#leave} left. ',
89
+ 'wordOverFlowMsg':'<span style="color:red;">The number of characters has exceeded allowable maximum values, the server may refuse to save!</span>',
90
+ 'ok':"OK",
91
+ 'cancel':"Cancel",
92
+ 'closeDialog':"closeDialog",
93
+ 'tableDrag':"You must import the file uiUtils.js before drag! ",
94
+ 'autofloatMsg':"The plugin AutoFloat depends on EditorUI!",
95
+ 'loadconfigError': 'Get server config error.',
96
+ 'loadconfigFormatError': 'Server config format error.',
97
+ 'loadconfigHttpError': 'Get server config http error.',
98
+ 'snapScreen_plugin':{
99
+ 'browserMsg':"Only IE supported!",
100
+ 'callBackErrorMsg':"The callback data is wrong,please check the config!",
101
+ 'uploadErrorMsg':"Upload error,please check your server environment! "
102
+ },
103
+ 'insertcode':{
104
+ 'as3':'ActionScript 3',
105
+ 'bash':'Bash/Shell',
106
+ 'cpp':'C/C++',
107
+ 'css':'CSS',
108
+ 'cf':'ColdFusion',
109
+ 'c#':'C#',
110
+ 'delphi':'Delphi',
111
+ 'diff':'Diff',
112
+ 'erlang':'Erlang',
113
+ 'groovy':'Groovy',
114
+ 'html':'HTML',
115
+ 'java':'Java',
116
+ 'jfx':'JavaFX',
117
+ 'js':'JavaScript',
118
+ 'pl':'Perl',
119
+ 'php':'PHP',
120
+ 'plain':'Plain Text',
121
+ 'ps':'PowerShell',
122
+ 'python':'Python',
123
+ 'ruby':'Ruby',
124
+ 'scala':'Scala',
125
+ 'sql':'SQL',
126
+ 'vb':'Visual Basic',
127
+ 'xml':'XML'
128
+ },
129
+ 'confirmClear':"Do you confirm to clear the Document?",
130
+ 'contextMenu':{
131
+ 'delete':"Delete",
132
+ 'selectall':"Select all",
133
+ 'deletecode':"Delete Code",
134
+ 'cleardoc':"Clear Document",
135
+ 'confirmclear':"Do you confirm to clear the Document?",
136
+ 'unlink':"Unlink",
137
+ 'paragraph':"Paragraph",
138
+ 'edittable':"Table property",
139
+ 'aligncell':'Align cell',
140
+ 'aligntable':'Table alignment',
141
+ 'tableleft':'Left float',
142
+ 'tablecenter':'Center',
143
+ 'tableright':'Right float',
144
+ 'aligntd':'Cell alignment',
145
+ 'edittd':"Cell property",
146
+ 'setbordervisible':'set table edge visible',
147
+ 'table':"Table",
148
+ 'justifyleft':'Justify Left',
149
+ 'justifyright':'Justify Right',
150
+ 'justifycenter':'Justify Center',
151
+ 'justifyjustify':'Default',
152
+ 'deletetable':"Delete table",
153
+ 'insertparagraphbefore':"InsertedBeforeLine",
154
+ 'insertparagraphafter':'InsertedAfterLine',
155
+ 'inserttable':'Insert table',
156
+ 'insertcaption':'Insert caption',
157
+ 'deletecaption':'Delete Caption',
158
+ 'inserttitle':'Insert Title',
159
+ 'deletetitle':'Delete Title',
160
+ 'inserttitlecol':'Insert Title Col',
161
+ 'deletetitlecol':'Delete Title Col',
162
+ 'averageDiseRow':'AverageDise Row',
163
+ 'averageDisCol':'AverageDis Col',
164
+ 'deleterow':"Delete row",
165
+ 'deletecol':"Delete col",
166
+ 'insertrow':"Insert row",
167
+ 'insertcol':"Insert col",
168
+ 'insertrownext':'Insert Row Next',
169
+ 'insertcolnext':'Insert Col Next',
170
+ 'mergeright':"Merge right",
171
+ 'mergeleft':"Merge left",
172
+ 'mergedown':"Merge down",
173
+ 'mergecells':"Merge cells",
174
+ 'splittocells':"Split to cells",
175
+ 'splittocols':"Split to Cols",
176
+ 'splittorows':"Split to Rows",
177
+ 'tablesort':'Table sorting',
178
+ 'enablesort':'Sorting Enable',
179
+ 'disablesort':'Sorting Disable',
180
+ 'reversecurrent':'Reverse current',
181
+ 'orderbyasc':'Order By ASCII',
182
+ 'reversebyasc':'Reverse By ASCII',
183
+ 'orderbynum':'Order By Num',
184
+ 'reversebynum':'Reverse By Num',
185
+ 'borderbk':'Border shading',
186
+ 'setcolor':'interlaced color',
187
+ 'unsetcolor':'Cancel interlacedcolor',
188
+ 'setbackground':'Background interlaced',
189
+ 'unsetbackground':'Cancel Bk interlaced',
190
+ 'redandblue':'Blue and red',
191
+ 'threecolorgradient':'Three-color gradient',
192
+ 'copy':"Copy(Ctrl + c)",
193
+ 'copymsg':"Browser does not support. Please use 'Ctrl + c' instead!",
194
+ 'paste':"Paste(Ctrl + v)",
195
+ 'pastemsg':"Browser does not support. Please use 'Ctrl + v' instead!"
196
+ },
197
+ 'copymsg': "Browser does not support. Please use 'Ctrl + c' instead!",
198
+ 'pastemsg': "Browser does not support. Please use 'Ctrl + v' instead!",
199
+ 'anthorMsg':"Link",
200
+ 'clearColor':'Clear',
201
+ 'standardColor':'Standard color',
202
+ 'themeColor':'Theme color',
203
+ 'property':'Property',
204
+ 'default':'Default',
205
+ 'modify':'Modify',
206
+ 'justifyleft':'Justify Left',
207
+ 'justifyright':'Justify Right',
208
+ 'justifycenter':'Justify Center',
209
+ 'justify':'Default',
210
+ 'clear':'Clear',
211
+ 'anchorMsg':'Anchor',
212
+ 'delete':'Delete',
213
+ 'clickToUpload':"Click to upload",
214
+ 'unset':'Language hasn\'t been set!',
215
+ 't_row':'row',
216
+ 't_col':'col',
217
+ 'pasteOpt':'Paste Option',
218
+ 'pasteSourceFormat':"Keep Source Formatting",
219
+ 'tagFormat':'Keep tag',
220
+ 'pasteTextFormat':'Keep Text only',
221
+ 'more':'More',
222
+ 'autoTypeSet':{
223
+ 'mergeLine':"Merge empty line",
224
+ 'delLine':"Del empty line",
225
+ 'removeFormat':"Remove format",
226
+ 'indent':"Indent",
227
+ 'alignment':"Alignment",
228
+ 'imageFloat':"Image float",
229
+ 'removeFontsize':"Remove font size",
230
+ 'removeFontFamily':"Remove fontFamily",
231
+ 'removeHtml':"Remove redundant HTML code",
232
+ 'pasteFilter':"Paste filter",
233
+ 'run':"Done",
234
+ 'symbol':'Symbol Conversion',
235
+ 'bdc2sb':'Full-width to Half-width',
236
+ 'tobdc':'Half-width to Full-width'
237
+ },
238
+
239
+ 'background':{
240
+ 'static':{
241
+ 'lang_background_normal':'Normal',
242
+ 'lang_background_local':'Online',
243
+ 'lang_background_set':'Background Set',
244
+ 'lang_background_none':'No Background',
245
+ 'lang_background_colored':'Colored Background',
246
+ 'lang_background_color':'Color Set',
247
+ 'lang_background_netimg':'Net-Image',
248
+ 'lang_background_align':'Align Type',
249
+ 'lang_background_position':'Position',
250
+ 'repeatType':{'options':["Center", "Repeat-x", "Repeat-y", "Tile","Custom"]}
251
+ },
252
+ 'noUploadImage':"No pictures has been uploaded!",
253
+ 'toggleSelect':'Change the active state by click!\n Image Size: '
254
+ },
255
+ //===============dialog i18N=======================
256
+ 'insertimage':{
257
+ 'static':{
258
+ 'lang_tab_remote':"Insert",
259
+ 'lang_tab_upload':"Local",
260
+ 'lang_tab_online':"Manager",
261
+ 'lang_tab_search':"Search",
262
+ 'lang_input_url':"Address:",
263
+ 'lang_input_size':"Size:",
264
+ 'lang_input_width':"Width",
265
+ 'lang_input_height':"Height",
266
+ 'lang_input_border':"Border:",
267
+ 'lang_input_vhspace':"Margins:",
268
+ 'lang_input_title':"Title:",
269
+ 'lang_input_align':'Image Float Style:',
270
+ 'lang_imgLoading':"Loading...",
271
+ 'lang_start_upload':"Start Upload",
272
+ 'lock':{'title':"Lock rate"},
273
+ 'searchType':{'title':"ImageType", 'options':["News", "Wallpaper", "emotions", "photo"]},
274
+ 'searchTxt':{'value':"Enter the search keyword!"},
275
+ 'searchBtn':{'value':"Search"},
276
+ 'searchReset':{'value':"Clear"},
277
+ 'noneAlign':{'title':'None Float'},
278
+ 'leftAlign':{'title':'Left Float'},
279
+ 'rightAlign':{'title':'Right Float'},
280
+ 'centerAlign':{'title':'Center In A Line'}
281
+ },
282
+ 'uploadSelectFile':'Select File',
283
+ 'uploadAddFile':'Add File',
284
+ 'uploadStart':'Start Upload',
285
+ 'uploadPause':'Pause Upload',
286
+ 'uploadContinue':'Continue Upload',
287
+ 'uploadRetry':'Retry Upload',
288
+ 'uploadDelete':'Delete',
289
+ 'uploadTurnLeft':'Turn Left',
290
+ 'uploadTurnRight':'Turn Right',
291
+ 'uploadPreview':'Doing Preview',
292
+ 'uploadNoPreview':'Can Not Preview',
293
+ 'updateStatusReady': 'Selected _ pictures, total _KB.',
294
+ 'updateStatusConfirm': '_ uploaded successfully and _ upload failed',
295
+ 'updateStatusFinish': 'Total _ pictures (_KB), _ uploaded successfully',
296
+ 'updateStatusError': ' and _ upload failed',
297
+ 'errorNotSupport': 'WebUploader does not support the browser you are using. Please upgrade your browser or flash player',
298
+ 'errorLoadConfig': 'Server config not loaded, upload can not work.',
299
+ 'errorExceedSize':'File Size Exceed',
300
+ 'errorFileType':'File Type Not Allow',
301
+ 'errorInterrupt':'File Upload Interrupted',
302
+ 'errorUploadRetry':'Upload Error, Please Retry.',
303
+ 'errorHttp':'Http Error',
304
+ 'errorServerUpload':'Server Result Error.',
305
+ 'remoteLockError':"Cannot Lock the Proportion between width and height",
306
+ 'numError':"Please enter the correct Num. e.g 123,400",
307
+ 'imageUrlError':"The image format may be wrong!",
308
+ 'imageLoadError':"Error,please check the network or URL!",
309
+ 'searchRemind':"Enter the search keyword!",
310
+ 'searchLoading':"Image is loading,please wait...",
311
+ 'searchRetry':" Sorry,can't find the image,please try again!"
312
+ },
313
+ 'attachment':{
314
+ 'static':{
315
+ 'lang_tab_upload': 'Upload',
316
+ 'lang_tab_online': 'Online',
317
+ 'lang_start_upload':"Start upload",
318
+ 'lang_drop_remind':"You can drop files here, a single maximum of 300 files"
319
+ },
320
+ 'uploadSelectFile':'Select File',
321
+ 'uploadAddFile':'Add File',
322
+ 'uploadStart':'Start Upload',
323
+ 'uploadPause':'Pause Upload',
324
+ 'uploadContinue':'Continue Upload',
325
+ 'uploadRetry':'Retry Upload',
326
+ 'uploadDelete':'Delete',
327
+ 'uploadTurnLeft':'Turn Left',
328
+ 'uploadTurnRight':'Turn Right',
329
+ 'uploadPreview':'Doing Preview',
330
+ 'updateStatusReady': 'Selected _ files, total _KB.',
331
+ 'updateStatusConfirm': '_ uploaded successfully and _ upload failed',
332
+ 'updateStatusFinish': 'Total _ files (_KB), _ uploaded successfully',
333
+ 'updateStatusError': ' and _ upload failed',
334
+ 'errorNotSupport': 'WebUploader does not support the browser you are using. Please upgrade your browser or flash player',
335
+ 'errorLoadConfig': 'Server config not loaded, upload can not work.',
336
+ 'errorExceedSize':'File Size Exceed',
337
+ 'errorFileType':'File Type Not Allow',
338
+ 'errorInterrupt':'File Upload Interrupted',
339
+ 'errorUploadRetry':'Upload Error, Please Retry.',
340
+ 'errorHttp':'Http Error',
341
+ 'errorServerUpload':'Server Result Error.'
342
+ },
343
+
344
+ 'insertvideo':{
345
+ 'static':{
346
+ 'lang_tab_insertV':"Video",
347
+ 'lang_tab_searchV':"Search",
348
+ 'lang_tab_uploadV':"Upload",
349
+ 'lang_video_url':" URL ",
350
+ 'lang_video_size':"Video Size",
351
+ 'lang_videoW':"Width",
352
+ 'lang_videoH':"Height",
353
+ 'lang_alignment':"Alignment",
354
+ 'videoSearchTxt':{'value':"Enter the search keyword!"},
355
+ 'videoType':{'options':["All", "Hot", "Entertainment", "Funny", "Sports", "Science", "variety"]},
356
+ 'videoSearchBtn':{'value':"Search in Baidu"},
357
+ 'videoSearchReset':{'value':"Clear result"},
358
+
359
+ 'lang_input_fileStatus':' No file uploaded!',
360
+ 'startUpload':{'style':"background:url(upload.png) no-repeat;"},
361
+
362
+ 'lang_upload_size':"Video Size",
363
+ 'lang_upload_width':"Width",
364
+ 'lang_upload_height':"Height",
365
+ 'lang_upload_alignment':"Alignment",
366
+ 'lang_format_advice':"Recommends mp4 format."
367
+ },
368
+ 'numError':"Please enter the correct Num. e.g 123,400",
369
+ 'floatLeft':"Float left",
370
+ 'floatRight':"Float right",
371
+ 'default':"Default",
372
+ 'block':"Display in block",
373
+ 'urlError':"The video url format may be wrong!",
374
+ 'loading':" &nbsp;The video is loading, please wait…",
375
+ 'clickToSelect':"Click to select",
376
+ 'goToSource':'Visit source video ',
377
+ 'noVideo':" &nbsp; &nbsp;Sorry,can't find the video,please try again!",
378
+
379
+ 'browseFiles':'Open files',
380
+ 'uploadSuccess':'Upload Successful!',
381
+ 'delSuccessFile':'Remove from the success of the queue',
382
+ 'delFailSaveFile':'Remove the save failed file',
383
+ 'statusPrompt':' file(s) uploaded! ',
384
+ 'flashVersionError':'The current Flash version is too low, please update FlashPlayer,then try again!',
385
+ 'flashLoadingError':'The Flash failed loading! Please check the path or network state',
386
+ 'fileUploadReady':'Wait for uploading...',
387
+ 'delUploadQueue':'Remove from the uploading queue ',
388
+ 'limitPrompt1':'Can not choose more than single',
389
+ 'limitPrompt2':'file(s)!Please choose again!',
390
+ 'delFailFile':'Remove failure file',
391
+ 'fileSizeLimit':'File size exceeds the limit!',
392
+ 'emptyFile':'Can not upload an empty file!',
393
+ 'fileTypeError':'File type error!',
394
+ 'unknownError':'Unknown error!',
395
+ 'fileUploading':'Uploading,please wait...',
396
+ 'cancelUpload':'Cancel upload',
397
+ 'netError':'Network error',
398
+ 'failUpload':'Upload failed',
399
+ 'serverIOError':'Server IO error!',
400
+ 'noAuthority':'No Permission!',
401
+ 'fileNumLimit':'Upload limit to the number',
402
+ 'failCheck':'Authentication fails, the upload is skipped!',
403
+ 'fileCanceling':'Cancel, please wait...',
404
+ 'stopUploading':'Upload has stopped...',
405
+
406
+ 'uploadSelectFile':'Select File',
407
+ 'uploadAddFile':'Add File',
408
+ 'uploadStart':'Start Upload',
409
+ 'uploadPause':'Pause Upload',
410
+ 'uploadContinue':'Continue Upload',
411
+ 'uploadRetry':'Retry Upload',
412
+ 'uploadDelete':'Delete',
413
+ 'uploadTurnLeft':'Turn Left',
414
+ 'uploadTurnRight':'Turn Right',
415
+ 'uploadPreview':'Doing Preview',
416
+ 'updateStatusReady': 'Selected _ files, total _KB.',
417
+ 'updateStatusConfirm': '_ uploaded successfully and _ upload failed',
418
+ 'updateStatusFinish': 'Total _ files (_KB), _ uploaded successfully',
419
+ 'updateStatusError': ' and _ upload failed',
420
+ 'errorNotSupport': 'WebUploader does not support the browser you are using. Please upgrade your browser or flash player',
421
+ 'errorLoadConfig': 'Server config not loaded, upload can not work.',
422
+ 'errorExceedSize':'File Size Exceed',
423
+ 'errorFileType':'File Type Not Allow',
424
+ 'errorInterrupt':'File Upload Interrupted',
425
+ 'errorUploadRetry':'Upload Error, Please Retry.',
426
+ 'errorHttp':'Http Error',
427
+ 'errorServerUpload':'Server Result Error.'
428
+ },
429
+ 'webapp':{
430
+ 'tip1':"This function provided by Baidu APP,please apply for baidu APPKey webmaster first!",
431
+ 'tip2':"And then open the file ueditor.config.js to set it! ",
432
+ 'applyFor':"APPLY FOR",
433
+ 'anthorApi':"Baidu API"
434
+ },
435
+ 'template':{
436
+ 'static':{
437
+ 'lang_template_bkcolor':'Background Color',
438
+ 'lang_template_clear' : 'Keep Content',
439
+ 'lang_template_select':'Select Template'
440
+ },
441
+ 'blank':"Blank",
442
+ 'blog':"Blog",
443
+ 'resume':"Resume",
444
+ 'richText':"Rich Text",
445
+ 'scrPapers':"Scientific Papers"
446
+ },
447
+ scrawl:{
448
+ 'static':{
449
+ 'lang_input_previousStep':"Previous",
450
+ 'lang_input_nextsStep':"Next",
451
+ 'lang_input_clear':'Clear',
452
+ 'lang_input_addPic':'AddImage',
453
+ 'lang_input_ScalePic':'ScaleImage',
454
+ 'lang_input_removePic':'RemoveImage',
455
+ 'J_imgTxt':{title:'Add background image'}
456
+ },
457
+ 'noScarwl':"No paint, a white paper...",
458
+ 'scrawlUpLoading':"Image is uploading, please wait...",
459
+ 'continueBtn':"Try again",
460
+ 'imageError':"Image failed to load!",
461
+ 'backgroundUploading':'Image is uploading,please wait...'
462
+ },
463
+ 'music':{
464
+ 'static':{
465
+ 'lang_input_tips':"Input singer/song/album, search you interested in music!",
466
+ 'J_searchBtn':{value:'Search songs'}
467
+ },
468
+ 'emptyTxt':'Not search to the relevant music results, please change a keyword try.',
469
+ 'chapter':'Songs',
470
+ 'singer':'Singer',
471
+ 'special':'Album',
472
+ 'listenTest':'Audition'
473
+ },
474
+ anchor:{
475
+ 'static':{
476
+ 'lang_input_anchorName':'Anchor Name:'
477
+ }
478
+ },
479
+ 'charts':{
480
+ 'static':{
481
+ 'lang_data_source':'Data source:',
482
+ 'lang_chart_format': 'Chart format:',
483
+ 'lang_data_align': 'Align',
484
+ 'lang_chart_align_same': 'Consistent with the X-axis Y-axis',
485
+ 'lang_chart_align_reverse': 'X-axis Y-axis opposite',
486
+ 'lang_chart_title': 'Title',
487
+ 'lang_chart_main_title': 'main title:',
488
+ 'lang_chart_sub_title': 'sub title:',
489
+ 'lang_chart_x_title': 'X-axis title:',
490
+ 'lang_chart_y_title': 'Y-axis title:',
491
+ 'lang_chart_tip': 'Prompt',
492
+ 'lang_cahrt_tip_prefix': 'prefix:',
493
+ 'lang_cahrt_tip_description': '仅饼图有效, 当鼠标移动到饼图中相应的块上时,提示框内的文字的前缀',
494
+ 'lang_chart_data_unit': 'Unit',
495
+ 'lang_chart_data_unit_title': 'unit:',
496
+ 'lang_chart_data_unit_description': '显示在每个数据点上的数据的单位, 比如: 温度的单位 ℃',
497
+ 'lang_chart_type': 'Chart type:',
498
+ 'lang_prev_btn': 'Previous',
499
+ 'lang_next_btn': 'Next'
500
+ }
501
+ },
502
+ emotion:{
503
+ 'static':{
504
+ 'lang_input_choice':'Choice',
505
+ 'lang_input_Tuzki':'Tuzki',
506
+ 'lang_input_lvdouwa':'LvDouWa',
507
+ 'lang_input_BOBO':'BOBO',
508
+ 'lang_input_babyCat':'BabyCat',
509
+ 'lang_input_bubble':'Bubble',
510
+ 'lang_input_youa':'YouA'
511
+ }
512
+ },
513
+ gmap:{
514
+ 'static':{
515
+ 'lang_input_address':'Address:',
516
+ 'lang_input_search':'Search',
517
+ 'address':{value:"Beijing"}
518
+ },
519
+ searchError:'Unable to locate the address!'
520
+ },
521
+ help:{
522
+ 'static':{
523
+ 'lang_input_about':'About',
524
+ 'lang_input_shortcuts':'Shortcuts',
525
+ 'lang_input_introduction':"UEditor is developed by Baidu Co.ltd. It is lightweight, customizable , focusing on user experience and etc. , UEditor is based on open source BSD license , allowing free use and redistribution.",
526
+ 'lang_Txt_shortcuts':'Shortcuts',
527
+ 'lang_Txt_func':'Function',
528
+ 'lang_Txt_bold':'Bold',
529
+ 'lang_Txt_copy':'Copy',
530
+ 'lang_Txt_cut':'Cut',
531
+ 'lang_Txt_Paste':'Paste',
532
+ 'lang_Txt_undo':'Undo',
533
+ 'lang_Txt_redo':'Redo',
534
+ 'lang_Txt_italic':'Italic',
535
+ 'lang_Txt_underline':'Underline',
536
+ 'lang_Txt_selectAll':'Select All',
537
+ 'lang_Txt_visualEnter':'Submit',
538
+ 'lang_Txt_fullscreen':'Fullscreen'
539
+ }
540
+ },
541
+ insertframe:{
542
+ 'static':{
543
+ 'lang_input_address':'Address:',
544
+ 'lang_input_width':'Width:',
545
+ 'lang_input_height':'height:',
546
+ 'lang_input_isScroll':'Enable scrollbars:',
547
+ 'lang_input_frameborder':'Show frame border:',
548
+ 'lang_input_alignMode':'Alignment:',
549
+ 'align':{title:"Alignment", options:["Default", "Left", "Right", "Center"]}
550
+ },
551
+ 'enterAddress':'Please enter an address!'
552
+ },
553
+ link:{
554
+ 'static':{
555
+ 'lang_input_text':'Text:',
556
+ 'lang_input_url':'URL:',
557
+ 'lang_input_title':'Title:',
558
+ 'lang_input_target':'open in new window:'
559
+ },
560
+ 'validLink':'Supports only effective when a link is selected',
561
+ 'httpPrompt':'The hyperlink you enter should start with "http|https|ftp://"!'
562
+ },
563
+ map:{
564
+ 'static':{
565
+ lang_city:"City",
566
+ lang_address:"Address",
567
+ city:{value:"Beijing"},
568
+ lang_search:"Search",
569
+ lang_dynamicmap:"Dynamic map"
570
+ },
571
+ cityMsg:"Please enter the city name!",
572
+ errorMsg:"Can't find the place!"
573
+ },
574
+ searchreplace:{
575
+ 'static':{
576
+ lang_tab_search:"Search",
577
+ lang_tab_replace:"Replace",
578
+ lang_search1:"Search",
579
+ lang_search2:"Search",
580
+ lang_replace:"Replace",
581
+ lang_searchReg:'Support regular expression ,which starts and ends with a slash ,for example "/expression/"',
582
+ lang_searchReg1:'Support regular expression ,which starts and ends with a slash ,for example "/expression/"',
583
+ lang_case_sensitive1:"Case sense",
584
+ lang_case_sensitive2:"Case sense",
585
+ nextFindBtn:{value:"Next"},
586
+ preFindBtn:{value:"Preview"},
587
+ nextReplaceBtn:{value:"Next"},
588
+ preReplaceBtn:{value:"Preview"},
589
+ repalceBtn:{value:"Replace"},
590
+ repalceAllBtn:{value:"Replace all"}
591
+ },
592
+ getEnd:"Has the search to the bottom!",
593
+ getStart:"Has the search to the top!",
594
+ countMsg:"Altogether replaced {#count} character(s)!"
595
+ },
596
+ snapscreen:{
597
+ 'static':{
598
+ lang_showMsg:"You should install the UEditor screenshots program first!",
599
+ lang_download:"Download!",
600
+ lang_step1:"Step1:Download the program and then run it",
601
+ lang_step2:"Step2:After complete install,try to click the button again"
602
+ }
603
+ },
604
+ spechars:{
605
+ 'static':{},
606
+ tsfh:"Special",
607
+ lmsz:"Roman",
608
+ szfh:"Numeral",
609
+ rwfh:"Japanese",
610
+ xlzm:"The Greek",
611
+ ewzm:"Russian",
612
+ pyzm:"Phonetic",
613
+ yyyb:"English",
614
+ zyzf:"Others"
615
+ },
616
+ 'edittable':{
617
+ 'static':{
618
+ 'lang_tableStyle':'Table style',
619
+ 'lang_insertCaption':'Add table header row',
620
+ 'lang_insertTitle':'Add table title row',
621
+ 'lang_insertTitleCol':'Add table title col',
622
+ 'lang_tableSize':'Automatically adjust table size',
623
+ 'lang_autoSizeContent':'Adaptive by form text',
624
+ 'lang_orderbycontent':"Table of contents sortable",
625
+ 'lang_autoSizePage':'Page width adaptive',
626
+ 'lang_example':'Example',
627
+ 'lang_borderStyle':'Table Border',
628
+ 'lang_color':'Color:'
629
+ },
630
+ captionName:'Caption',
631
+ titleName:'Title',
632
+ cellsName:'text',
633
+ errorMsg:'There are merged cells, can not sort.'
634
+ },
635
+ 'edittip':{
636
+ 'static':{
637
+ lang_delRow:'Delete entire row',
638
+ lang_delCol:'Delete entire col'
639
+ }
640
+ },
641
+ 'edittd':{
642
+ 'static':{
643
+ lang_tdBkColor:'Background Color:'
644
+ }
645
+ },
646
+ 'formula':{
647
+ 'static':{
648
+ }
649
+ },
650
+ wordimage:{
651
+ 'static':{
652
+ lang_resave:"The re-save step",
653
+ uploadBtn:{src:"upload.png", alt:"Upload"},
654
+ clipboard:{style:"background: url(copy.png) -153px -1px no-repeat;"},
655
+ lang_step:" 1. Click top button to copy the url and then open the dialog to paste it. 2. Open after choose photos uploaded process."
656
+ },
657
+ fileType:"Image",
658
+ flashError:"Flash initialization failed!",
659
+ netError:"Network error! Please try again!",
660
+ copySuccess:"URL has been copied!",
661
+
662
+ 'flashI18n':{
663
+ lang:encodeURI( '{"UploadingState":"totalNum: ${a},uploadComplete: ${b}", "BeforeUpload":"waitingNum: ${a}", "ExceedSize":"Size exceed${a}", "ErrorInPreview":"Preview failed", "DefaultDescription":"Description", "LoadingImage":"Loading..."}' ),
664
+ uploadingTF:encodeURI( '{"font":"Arial", "size":12, "color":"0x000", "bold":"true", "italic":"false", "underline":"false"}' ),
665
+ imageTF:encodeURI( '{"font":"Arial", "size":11, "color":"red", "bold":"false", "italic":"false", "underline":"false"}' ),
666
+ textEncoding:"utf-8",
667
+ addImageSkinURL:"addImage.png",
668
+ allDeleteBtnUpSkinURL:"allDeleteBtnUpSkin.png",
669
+ allDeleteBtnHoverSkinURL:"allDeleteBtnHoverSkin.png",
670
+ rotateLeftBtnEnableSkinURL:"rotateLeftEnable.png",
671
+ rotateLeftBtnDisableSkinURL:"rotateLeftDisable.png",
672
+ rotateRightBtnEnableSkinURL:"rotateRightEnable.png",
673
+ rotateRightBtnDisableSkinURL:"rotateRightDisable.png",
674
+ deleteBtnEnableSkinURL:"deleteEnable.png",
675
+ deleteBtnDisableSkinURL:"deleteDisable.png",
676
+ backgroundURL:'',
677
+ listBackgroundURL:'',
678
+ buttonURL:'button.png'
679
+ }
680
+ },
681
+ 'autosave': {
682
+ 'success':'Local conservation success'
683
+ }
684
+ };