ueditor.rails 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/lib/generators/ueditor/install/install_generator.rb +16 -0
  3. data/lib/generators/ueditor/install/install_generator.rb~ +11 -0
  4. data/lib/ueditor/engine.rb +0 -4
  5. data/lib/ueditor/version.rb +1 -1
  6. data/test/dummy/log/production.log +1353 -0
  7. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/dialogs/internal.js +0 -0
  8. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/dialogs/link/link.html +0 -0
  9. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/lang/zh-cn/images/copy.png +0 -0
  10. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/lang/zh-cn/images/localimage.png +0 -0
  11. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/lang/zh-cn/images/music.png +0 -0
  12. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/lang/zh-cn}/images/upload.png +0 -0
  13. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/lang/zh-cn/zh-cn.js +0 -0
  14. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/themes/default/css/ueditor.css +0 -0
  15. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/themes/default/css/ueditor.min.css +0 -0
  16. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/dialogbase.css +0 -0
  17. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/anchor.gif +0 -0
  18. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/arrow.png +0 -0
  19. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/arrow_down.png +0 -0
  20. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/arrow_up.png +0 -0
  21. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/button-bg.gif +0 -0
  22. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/cancelbutton.gif +0 -0
  23. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/charts.png +0 -0
  24. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/cursor_h.gif +0 -0
  25. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/cursor_h.png +0 -0
  26. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/cursor_v.gif +0 -0
  27. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/cursor_v.png +0 -0
  28. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/dialog-title-bg.png +0 -0
  29. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/filescan.png +0 -0
  30. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/highlighted.gif +0 -0
  31. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/icons-all.gif +0 -0
  32. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/icons.gif +0 -0
  33. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/icons.png +0 -0
  34. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/loaderror.png +0 -0
  35. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/loading.gif +0 -0
  36. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/lock.gif +0 -0
  37. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/neweditor-tab-bg.png +0 -0
  38. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/pagebreak.gif +0 -0
  39. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/scale.png +0 -0
  40. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/sortable.png +0 -0
  41. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/spacer.gif +0 -0
  42. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/sparator_v.png +0 -0
  43. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/table-cell-align.png +0 -0
  44. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/tangram-colorpicker.png +0 -0
  45. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/toolbar_bg.png +0 -0
  46. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/unhighlighted.gif +0 -0
  47. data/{vendor/assets/javascripts/ueditor/lang/zh-cn → test/dummy/public/ueditor/themes/default}/images/upload.png +0 -0
  48. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/videologo.gif +0 -0
  49. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/word.gif +0 -0
  50. data/{app/assets/stylesheets/ueditor/themes/mindpin → test/dummy/public/ueditor/themes/default}/images/wordpaste.png +0 -0
  51. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/themes/iframe.css +0 -0
  52. data/{app/assets/stylesheets → test/dummy/public}/ueditor/themes/mindpin/css/ueditor.css +0 -0
  53. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/dialogbase.css +0 -0
  54. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/anchor.gif +0 -0
  55. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/arrow.png +0 -0
  56. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/arrow_down.png +0 -0
  57. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/arrow_up.png +0 -0
  58. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/button-bg.gif +0 -0
  59. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/cancelbutton.gif +0 -0
  60. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/charts.png +0 -0
  61. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/cursor_h.gif +0 -0
  62. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/cursor_h.png +0 -0
  63. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/cursor_v.gif +0 -0
  64. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/cursor_v.png +0 -0
  65. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/dialog-title-bg.png +0 -0
  66. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/filescan.png +0 -0
  67. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/highlighted.gif +0 -0
  68. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/icons-all.gif +0 -0
  69. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/icons.gif +0 -0
  70. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/icons.png +0 -0
  71. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/loaderror.png +0 -0
  72. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/loading.gif +0 -0
  73. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/lock.gif +0 -0
  74. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/neweditor-tab-bg.png +0 -0
  75. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/pagebreak.gif +0 -0
  76. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/scale.png +0 -0
  77. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/sortable.png +0 -0
  78. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/spacer.gif +0 -0
  79. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/sparator_v.png +0 -0
  80. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/table-cell-align.png +0 -0
  81. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/tangram-colorpicker.png +0 -0
  82. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/toolbar_bg.png +0 -0
  83. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/unhighlighted.gif +0 -0
  84. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/upload.png +0 -0
  85. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/videologo.gif +0 -0
  86. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/word.gif +0 -0
  87. data/{vendor/assets/javascripts/ueditor/themes/default → test/dummy/public/ueditor/themes/mindpin}/images/wordpaste.png +0 -0
  88. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/third-party/codemirror/codemirror.css +0 -0
  89. data/{vendor/assets/javascripts → test/dummy/public}/ueditor/third-party/codemirror/codemirror.js +0 -0
  90. data/test/dummy/tmp/cache/assets/development/sprockets/013d3910df39380c9835a1a09b1b0394 +0 -0
  91. data/test/dummy/tmp/cache/assets/development/sprockets/0287552b2ed2375eb3994acfd0401379 +0 -0
  92. data/test/dummy/tmp/cache/assets/development/sprockets/042f034170ae9e5e9a3250327cf7f76c +0 -0
  93. data/test/dummy/tmp/cache/assets/development/sprockets/068979fb213f839c9f212b3c2a7e2c2e +0 -0
  94. data/test/dummy/tmp/cache/assets/development/sprockets/07898ec696d976eeafb61ef6bb48e097 +0 -0
  95. data/test/dummy/tmp/cache/assets/development/sprockets/0d3adb5ccf5b328e3ac5a377cb75950f +0 -0
  96. data/test/dummy/tmp/cache/assets/development/sprockets/0d7c51218669ae27b1bb2d8ff9c9c1f9 +0 -0
  97. data/test/dummy/tmp/cache/assets/development/sprockets/0e90d83c1ab24528628e4609fb586091 +0 -0
  98. data/test/dummy/tmp/cache/assets/development/sprockets/0eec6c8f3340bbf1869594bc1ff269d7 +0 -0
  99. data/test/dummy/tmp/cache/assets/development/sprockets/1877e760da6482994e4f6cf99784e1d9 +0 -0
  100. data/test/dummy/tmp/cache/assets/development/sprockets/192c4d88f6f4dba65f5698071771034b +0 -0
  101. data/test/dummy/tmp/cache/assets/development/sprockets/1af16e914cf172cc2aa44df3cced14f5 +0 -0
  102. data/test/dummy/tmp/cache/assets/development/sprockets/1c3b903be7c25d59dfe83210439a666f +0 -0
  103. data/test/dummy/tmp/cache/assets/development/sprockets/24fd9e383d10c56ae5bf72ce4e8d57d5 +0 -0
  104. data/test/dummy/tmp/cache/assets/development/sprockets/2bd9b36c9a36c9f81a3c6e5d0441627c +0 -0
  105. data/test/dummy/tmp/cache/assets/development/sprockets/39c9402f2f90854001756fbefb867372 +0 -0
  106. data/test/dummy/tmp/cache/assets/development/sprockets/3c1de255e0748374a47adaca5a0b7c4d +0 -0
  107. data/test/dummy/tmp/cache/assets/development/sprockets/3f510214aa9624f2da3cd0783abd192a +0 -0
  108. data/test/dummy/tmp/cache/assets/development/sprockets/4196b513b6c42fb2e82629ac02e73a0e +0 -0
  109. data/test/dummy/tmp/cache/assets/development/sprockets/4c94a28829548eb17d395443cd28e642 +0 -0
  110. data/test/dummy/tmp/cache/assets/development/sprockets/527aa044ed2e5faab5b6012b651c3e9b +0 -0
  111. data/test/dummy/tmp/cache/assets/development/sprockets/580fa03b89740097210553bdf51e68bf +0 -0
  112. data/test/dummy/tmp/cache/assets/development/sprockets/58dfd54d27db5a2c9ec6d9f20e630dd5 +0 -0
  113. data/test/dummy/tmp/cache/assets/development/sprockets/5fd644dc7b31d25b01e94daf13d1d4e9 +0 -0
  114. data/test/dummy/tmp/cache/assets/development/sprockets/6195f009395a38d03838f59ef2041c2e +0 -0
  115. data/test/dummy/tmp/cache/assets/development/sprockets/627dae5d4a86c14af13bd6f999c910b1 +0 -0
  116. data/test/dummy/tmp/cache/assets/development/sprockets/64115546a9047100e090cb1246d41441 +0 -0
  117. data/test/dummy/tmp/cache/assets/development/sprockets/659c194a08628e282ac3caef1cb64804 +0 -0
  118. data/test/dummy/tmp/cache/assets/development/sprockets/66b13ebd7685fed96f87e2e5c7d7c167 +0 -0
  119. data/test/dummy/tmp/cache/assets/development/sprockets/6866d66fb3f554afa63e61797336d37d +0 -0
  120. data/test/dummy/tmp/cache/assets/development/sprockets/6962f233059f4a46438c57cd7ff0178b +0 -0
  121. data/test/dummy/tmp/cache/assets/development/sprockets/6a5211567f4868e16cdef45f2dc41760 +0 -0
  122. data/test/dummy/tmp/cache/assets/development/sprockets/6bd107821f81c2ca5d905c7009c4ee0d +0 -0
  123. data/test/dummy/tmp/cache/assets/development/sprockets/6df111d99ff43e651268d9b99fefe7ab +0 -0
  124. data/test/dummy/tmp/cache/assets/development/sprockets/6f115efdfc563e297792c6acc09b0c83 +0 -0
  125. data/test/dummy/tmp/cache/assets/development/sprockets/74c7b5b3c1ca983f3ac5ad62a4fbdb2c +0 -0
  126. data/test/dummy/tmp/cache/assets/development/sprockets/75b3bbd255f089f395989caa2edffa98 +0 -0
  127. data/test/dummy/tmp/cache/assets/development/sprockets/7749de71818f5b7c68977768875fe38b +0 -0
  128. data/test/dummy/tmp/cache/assets/development/sprockets/7b633e32ff8f5b63473e65e956a0658c +0 -0
  129. data/test/dummy/tmp/cache/assets/development/sprockets/7e96adf825802b7dc7fa5dda49f3d55d +0 -0
  130. data/test/dummy/tmp/cache/assets/development/sprockets/7f811a5208ba420e057da25b64148224 +0 -0
  131. data/test/dummy/tmp/cache/assets/development/sprockets/8cc74b16772244683b7851fb053bb881 +0 -0
  132. data/test/dummy/tmp/cache/assets/development/sprockets/8d6caca6f3f2b9906931982182b3a922 +0 -0
  133. data/test/dummy/tmp/cache/assets/development/sprockets/8f59d6d83ad3566a855f7c6aaf0a2153 +0 -0
  134. data/test/dummy/tmp/cache/assets/development/sprockets/8fc1dd433b6df0cba2a75cd76a8da01b +0 -0
  135. data/test/dummy/tmp/cache/assets/development/sprockets/8fdd7d692fcf9a32ff067edb15bd9ad0 +0 -0
  136. data/test/dummy/tmp/cache/assets/development/sprockets/928403fb611339c27e0b0da3f3ea9b61 +0 -0
  137. data/test/dummy/tmp/cache/assets/development/sprockets/92e3cf1ee6169034b72859923497867a +0 -0
  138. data/test/dummy/tmp/cache/assets/development/sprockets/935979215259c475f51e2586d1044279 +0 -0
  139. data/test/dummy/tmp/cache/assets/development/sprockets/9a3f05eb39f31a54f7559fd547ae2f18 +0 -0
  140. data/test/dummy/tmp/cache/assets/development/sprockets/9a904bdae53c39029763a22365b0a8b6 +0 -0
  141. data/test/dummy/tmp/cache/assets/development/sprockets/9b3d7568bb003e509b9d7738059786e2 +0 -0
  142. data/test/dummy/tmp/cache/assets/development/sprockets/9c3e5e21298b3b566a13e183a8f10786 +0 -0
  143. data/test/dummy/tmp/cache/assets/development/sprockets/9cf4f6018741f4616dee1202f16fbd2f +0 -0
  144. data/test/dummy/tmp/cache/assets/development/sprockets/9d0b40b6b204fc27b695ce3fd5a49c3b +0 -0
  145. data/test/dummy/tmp/cache/assets/development/sprockets/9d66737565ac7c4fed8aa8e1f3321103 +0 -0
  146. data/test/dummy/tmp/cache/assets/development/sprockets/9ead576401706d295b6b476bb95b0313 +0 -0
  147. data/test/dummy/tmp/cache/assets/development/sprockets/a10e599274d9f5d3e66ec7e2d5ffcef0 +0 -0
  148. data/test/dummy/tmp/cache/assets/development/sprockets/aebb8180507e349998b5e23d08b43e22 +0 -0
  149. data/test/dummy/tmp/cache/assets/development/sprockets/b10ed8cd524f9253eb0b73a2b6c017a6 +0 -0
  150. data/test/dummy/tmp/cache/assets/development/sprockets/b1a98233bc45e40cf2126c88931f5a36 +0 -0
  151. data/test/dummy/tmp/cache/assets/development/sprockets/b42a8262c38dbcb01665313145d94913 +0 -0
  152. data/test/dummy/tmp/cache/assets/development/sprockets/ba06dddf946f4ff1fc88c21c78ed110d +0 -0
  153. data/test/dummy/tmp/cache/assets/development/sprockets/bd22193b7c008abf93a7640553ee8b24 +0 -0
  154. data/test/dummy/tmp/cache/assets/development/sprockets/bf6e535c1b4fcd995c5321775f7e4de5 +0 -0
  155. data/test/dummy/tmp/cache/assets/development/sprockets/c063d154b6ded9368c4954bc8bc6d5ea +0 -0
  156. data/test/dummy/tmp/cache/assets/development/sprockets/c0f1f59a72b8ef82b78625bd27648a4a +0 -0
  157. data/test/dummy/tmp/cache/assets/development/sprockets/c18888a7c09e2eb388e72c4ef47b4593 +0 -0
  158. data/test/dummy/tmp/cache/assets/development/sprockets/c30d975ed601f7b1d2917a051d251bbd +0 -0
  159. data/test/dummy/tmp/cache/assets/development/sprockets/c800654e22200fd45faeb0f4dd9a47f8 +0 -0
  160. data/test/dummy/tmp/cache/assets/development/sprockets/d1b451134739a78f1aeb8c7ac49dc6e3 +0 -0
  161. data/test/dummy/tmp/cache/assets/development/sprockets/d47169197e7aa9941ad089040737c05f +0 -0
  162. data/test/dummy/tmp/cache/assets/development/sprockets/d68ede5388340e696f67f220442e5660 +0 -0
  163. data/test/dummy/tmp/cache/assets/development/sprockets/d6f8f312eca7fa6eacc0449cd18a4004 +0 -0
  164. data/test/dummy/tmp/cache/assets/development/sprockets/d7a2a268dbd0a95c02367ecf94cdc034 +0 -0
  165. data/test/dummy/tmp/cache/assets/development/sprockets/dc96b37cb7c1aa49cff5b505258ea02c +0 -0
  166. data/test/dummy/tmp/cache/assets/development/sprockets/dcea57f350de3f53cb075960bde1ef6f +0 -0
  167. data/test/dummy/tmp/cache/assets/development/sprockets/de8973704a9dbcd11f569fe5258b50f9 +0 -0
  168. data/test/dummy/tmp/cache/assets/development/sprockets/dfb85a649d917d557af66a0d9175640f +0 -0
  169. data/test/dummy/tmp/cache/assets/development/sprockets/e1f08470eeb91b3de56f26f93f5816c9 +0 -0
  170. data/test/dummy/tmp/cache/assets/development/sprockets/e796b3630b76a2a9e542c7e9d7a3d251 +0 -0
  171. data/test/dummy/tmp/cache/assets/development/sprockets/e8493f4b1c9cb71c1675a010274ef29e +0 -0
  172. data/test/dummy/tmp/cache/assets/development/sprockets/e9f28f7fae5e38e93eadee3ac548e6cf +0 -0
  173. data/test/dummy/tmp/cache/assets/development/sprockets/ece6fe161d7f779037f7d8b60ce71aa0 +0 -0
  174. data/test/dummy/tmp/cache/assets/development/sprockets/ed196b382cb757aa57e2e6a0506bfe39 +0 -0
  175. data/test/dummy/tmp/cache/assets/development/sprockets/eebdbdc927f8d48934b8afb3122992d1 +0 -0
  176. data/test/dummy/tmp/cache/assets/development/sprockets/ef6827a4f9ce88627a4950abce43498e +0 -0
  177. data/test/dummy/tmp/cache/assets/development/sprockets/f02ea9bf13c6ca5fda21e580dfccab15 +0 -0
  178. data/test/dummy/tmp/cache/assets/development/sprockets/f11f345ccecb5a293d4ac484b1363707 +0 -0
  179. data/test/dummy/tmp/cache/assets/development/sprockets/f4dc1524730d3d411725501b22a7e3d7 +0 -0
  180. data/test/dummy/tmp/cache/assets/development/sprockets/f6a64bd477747723b37e7edc56d9a784 +0 -0
  181. data/test/dummy/tmp/cache/assets/development/sprockets/ff43fb34074dab0d1daf1babaec2e757 +0 -0
  182. data/{app → vendor}/assets/javascripts/config.mindpin.default.coffee +31 -2
  183. data/vendor/assets/javascripts/ueditor.js +3 -0
  184. metadata +348 -88
  185. data/app/assets/javascripts/ueditor.js +0 -3
  186. data/vendor/assets/javascripts/ueditor/index.html +0 -156
@@ -1,20 +1,48 @@
1
+ _loadFile = window.UE.utils.loadFile
2
+
3
+ window.UE.utils.loadFile = (doc, obj, fn)->
4
+ # TODO
5
+ # 如果将来要对文件加载进行精确控制
6
+ # 例如要把一些目前的静态文件放到 assets pipeline 里的话
7
+ # 就在这里修改扩展
8
+ _loadFile doc, obj, fn
9
+
1
10
  do ->
2
11
  transP = (node)->
3
12
  node.tagName = 'p'
4
13
  node.setStyle()
5
14
 
6
15
  MINDPIN_UEDITOR_CONFIG =
16
+ # 主题样式
7
17
  theme: 'mindpin'
18
+ themePath: '/ueditor/themes/'
19
+
20
+ # 语言
21
+ lang: 'zh-cn'
22
+ langPath: '/ueditor/lang/'
23
+
24
+ # iframe 内部样式
25
+ iframeCssUrl: '/ueditor/themes/iframe.css'
26
+
27
+ # html 查看工具
28
+ sourceEditor: 'codemirror'
29
+ codeMirrorJsUrl: '/ueditor/third-party/codemirror/codemirror.js'
30
+ codeMirrorCssUrl: '/ueditor/third-party/codemirror/codemirror.css'
31
+
32
+ # 关闭字数统计,关闭元素路径,关闭图片缩放,关闭图片操作浮层
8
33
  wordCount: false
9
34
  elementPathEnabled: false
10
35
  imageScaleEnabled: false
11
- serverUrl: null
12
36
  imagePopup: false
13
- iframeCssUrl: '/assets/ueditor/iframe.css'
14
37
 
38
+ # 关闭服务器请求接口
39
+ serverUrl: null
40
+
41
+ # 无序和有序列表配置
15
42
  insertunorderedlist: { 'disc': '' }
16
43
  insertorderedlist: { 'decimal': '' }
17
44
 
45
+ # 粘贴时的内容过滤
18
46
  pasteplain: true
19
47
  filterTxtRules: {
20
48
  'img': {$: {
@@ -36,6 +64,7 @@ do ->
36
64
  'ol': {$:{}}
37
65
  'ul': {$:{}}
38
66
  'li': {$:{}}
67
+ 'blockquote': {$:{}}
39
68
 
40
69
  'caption': transP
41
70
  'th': transP