activeadmin_trumbowyg 0.1.1 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +7 -2
  3. data/app/assets/fonts/trumbowyg/icons.svg +1 -0
  4. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ar.js +67 -0
  5. data/app/assets/javascripts/activeadmin/trumbowyg/langs/bg.js +54 -0
  6. data/app/assets/javascripts/activeadmin/trumbowyg/langs/by.js +61 -0
  7. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ca.js +57 -0
  8. data/app/assets/javascripts/activeadmin/trumbowyg/langs/cs.js +54 -0
  9. data/app/assets/javascripts/activeadmin/trumbowyg/langs/da.js +64 -0
  10. data/app/assets/javascripts/activeadmin/trumbowyg/langs/da.min.js +1 -1
  11. data/app/assets/javascripts/activeadmin/trumbowyg/langs/de.js +57 -0
  12. data/app/assets/javascripts/activeadmin/trumbowyg/langs/de.min.js +1 -1
  13. data/app/assets/javascripts/activeadmin/trumbowyg/langs/el.js +59 -0
  14. data/app/assets/javascripts/activeadmin/trumbowyg/langs/es.js +63 -0
  15. data/app/assets/javascripts/activeadmin/trumbowyg/langs/es_ar.js +56 -0
  16. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fa.js +58 -0
  17. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fa.min.js +1 -1
  18. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fi.js +58 -0
  19. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fr.js +66 -0
  20. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fr.min.js +3 -1
  21. data/app/assets/javascripts/activeadmin/trumbowyg/langs/he.js +57 -0
  22. data/app/assets/javascripts/activeadmin/trumbowyg/langs/hr.js +54 -0
  23. data/app/assets/javascripts/activeadmin/trumbowyg/langs/hu.js +58 -0
  24. data/app/assets/javascripts/activeadmin/trumbowyg/langs/id.js +57 -0
  25. data/app/assets/javascripts/activeadmin/trumbowyg/langs/it.js +59 -0
  26. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ja.js +63 -0
  27. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ko.js +63 -0
  28. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ko.min.js +3 -4
  29. data/app/assets/javascripts/activeadmin/trumbowyg/langs/lt.js +59 -0
  30. data/app/assets/javascripts/activeadmin/trumbowyg/langs/lt.min.js +8 -0
  31. data/app/assets/javascripts/activeadmin/trumbowyg/langs/mn.js +49 -0
  32. data/app/assets/javascripts/activeadmin/trumbowyg/langs/my.js +54 -0
  33. data/app/assets/javascripts/activeadmin/trumbowyg/langs/nl.js +61 -0
  34. data/app/assets/javascripts/activeadmin/trumbowyg/langs/nl.min.js +1 -1
  35. data/app/assets/javascripts/activeadmin/trumbowyg/langs/no_nb.js +56 -0
  36. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ph.js +54 -0
  37. data/app/assets/javascripts/activeadmin/trumbowyg/langs/pl.js +55 -0
  38. data/app/assets/javascripts/activeadmin/trumbowyg/langs/pt.js +65 -0
  39. data/app/assets/javascripts/activeadmin/trumbowyg/langs/pt_br.js +65 -0
  40. data/app/assets/javascripts/activeadmin/trumbowyg/langs/pt_br.min.js +1 -1
  41. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ro.js +58 -0
  42. data/app/assets/javascripts/activeadmin/trumbowyg/langs/rs.js +53 -0
  43. data/app/assets/javascripts/activeadmin/trumbowyg/langs/rs_latin.js +54 -0
  44. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ru.js +61 -0
  45. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ru.min.js +1 -1
  46. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sk.js +54 -0
  47. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sl.js +48 -0
  48. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sl.min.js +1 -0
  49. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sq.js +65 -0
  50. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sq.min.js +8 -0
  51. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sv.js +58 -0
  52. data/app/assets/javascripts/activeadmin/trumbowyg/langs/th.js +55 -0
  53. data/app/assets/javascripts/activeadmin/trumbowyg/langs/th.min.js +9 -0
  54. data/app/assets/javascripts/activeadmin/trumbowyg/langs/tr.js +55 -0
  55. data/app/assets/javascripts/activeadmin/trumbowyg/langs/ua.js +54 -0
  56. data/app/assets/javascripts/activeadmin/trumbowyg/langs/vi.js +56 -0
  57. data/app/assets/javascripts/activeadmin/trumbowyg/langs/vi.min.js +1 -1
  58. data/app/assets/javascripts/activeadmin/trumbowyg/langs/zh_cn.js +57 -0
  59. data/app/assets/javascripts/activeadmin/trumbowyg/langs/zh_tw.js +66 -0
  60. data/app/assets/javascripts/activeadmin/trumbowyg/langs/zh_tw.min.js +1 -1
  61. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.js +162 -0
  62. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.min.js +1 -0
  63. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.js +34 -2
  64. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.min.js +1 -1
  65. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.js +29 -97
  66. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.min.js +1 -1
  67. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.js +109 -35
  68. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.min.js +1 -1
  69. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/sass/trumbowyg.colors.scss +30 -11
  70. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.css +27 -15
  71. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css +2 -2
  72. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.js +1265 -877
  73. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.min.js +1 -1
  74. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/sass/trumbowyg.emoji.scss +1 -4
  75. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.css +2 -5
  76. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.min.css +2 -2
  77. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.js +95 -0
  78. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.min.js +1 -0
  79. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontsize/trumbowyg.fontsize.js +257 -0
  80. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontsize/trumbowyg.fontsize.min.js +1 -0
  81. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/trumbowyg.giphy.js +182 -0
  82. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/trumbowyg.giphy.min.js +1 -0
  83. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/ui/sass/trumbowyg.giphy.scss +111 -0
  84. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/ui/trumbowyg.giphy.css +90 -0
  85. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/giphy/ui/trumbowyg.giphy.min.css +2 -0
  86. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.js +90 -0
  87. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.min.js +1 -0
  88. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/sass/trumbowyg.highlight.scss +25 -0
  89. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.css +20 -0
  90. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.min.css +2 -0
  91. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/history/trumbowyg.history.js +216 -0
  92. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/history/trumbowyg.history.min.js +1 -0
  93. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.js +19 -2
  94. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.min.js +1 -1
  95. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.js +162 -0
  96. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.min.js +1 -0
  97. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/trumbowyg.mathml.js +117 -0
  98. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/trumbowyg.mathml.min.js +1 -0
  99. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/sass/trumbowyg.mathml.scss +36 -0
  100. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.css +29 -0
  101. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.min.css +2 -0
  102. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/trumbowyg.mention.js +116 -0
  103. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/trumbowyg.mention.min.js +1 -0
  104. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/sass/trumbowyg.mention.scss +29 -0
  105. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/trumbowyg.mention.css +24 -0
  106. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/trumbowyg.mention.min.css +2 -0
  107. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.js +21 -1
  108. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.min.js +1 -1
  109. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteembed/trumbowyg.pasteembed.js +96 -0
  110. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteembed/trumbowyg.pasteembed.min.js +1 -0
  111. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.js +10 -2
  112. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.min.js +1 -1
  113. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +22 -3
  114. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.min.js +1 -1
  115. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/resizable-resolveconflict.js +20 -0
  116. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/resizable-resolveconflict.min.js +1 -0
  117. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/trumbowyg.resizimg.js +303 -0
  118. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/trumbowyg.resizimg.min.js +1 -0
  119. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/ruby/trumbowyg.ruby.js +94 -0
  120. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/ruby/trumbowyg.ruby.min.js +1 -0
  121. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/trumbowyg.specialchars.js +79 -0
  122. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/trumbowyg.specialchars.min.js +1 -0
  123. data/app/assets/{stylesheets/activeadmin/trumbowyg/plugins/emoji/ui/sass/trumbowyg.emoji.scss → javascripts/activeadmin/trumbowyg/plugins/specialchars/ui/sass/trumbowyg.specialchars.scss} +11 -11
  124. data/app/assets/{stylesheets/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.css → javascripts/activeadmin/trumbowyg/plugins/specialchars/ui/trumbowyg.specialchars.css} +12 -12
  125. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/specialchars/ui/trumbowyg.specialchars.min.css +2 -0
  126. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/trumbowyg.table.js +346 -81
  127. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/trumbowyg.table.min.js +1 -1
  128. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/sass/trumbowyg.table.scss +46 -0
  129. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/trumbowyg.table.css +36 -0
  130. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/trumbowyg.table.min.css +2 -0
  131. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/template/trumbowyg.template.js +32 -9
  132. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/template/trumbowyg.template.min.js +1 -1
  133. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.js +58 -23
  134. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.min.js +1 -1
  135. data/app/assets/javascripts/activeadmin/trumbowyg/trumbowyg.js +427 -188
  136. data/app/assets/javascripts/activeadmin/trumbowyg/trumbowyg.min.js +2 -2
  137. data/app/assets/javascripts/activeadmin/trumbowyg_input.js +17 -4
  138. data/app/assets/stylesheets/activeadmin/_trumbowyg_input.sass +11 -3
  139. data/app/assets/stylesheets/activeadmin/trumbowyg/{ui/sass/trumbowyg.scss → trumbowyg.scss} +44 -16
  140. data/lib/activeadmin/trumbowyg/version.rb +1 -1
  141. data/lib/tasks/trumbowyg.rake +21 -0
  142. metadata +230 -91
  143. data/.gitignore +0 -3
  144. data/Gemfile +0 -4
  145. data/activeadmin_trumbowyg.gemspec +0 -19
  146. data/app/assets/fonts/ui/icons.svg +0 -1
  147. data/app/assets/javascripts/activeadmin/trumbowyg/ui/icons.svg +0 -1
  148. data/app/assets/javascripts/activeadmin/trumbowyg/ui/sass/trumbowyg.scss +0 -796
  149. data/app/assets/javascripts/activeadmin/trumbowyg/ui/trumbowyg.css +0 -584
  150. data/app/assets/javascripts/activeadmin/trumbowyg/ui/trumbowyg.min.css +0 -2
  151. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ar.min.js +0 -11
  152. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/bg.min.js +0 -8
  153. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/by.min.js +0 -8
  154. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ca.min.js +0 -11
  155. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/cs.min.js +0 -8
  156. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/da.min.js +0 -9
  157. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/de.min.js +0 -9
  158. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/el.min.js +0 -12
  159. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/es.min.js +0 -9
  160. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/es_ar.min.js +0 -10
  161. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/fa.min.js +0 -10
  162. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/fi.min.js +0 -9
  163. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/fr.min.js +0 -10
  164. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/he.min.js +0 -9
  165. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/hr.min.js +0 -9
  166. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/hu.min.js +0 -10
  167. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/id.min.js +0 -11
  168. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/it.min.js +0 -8
  169. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ja.min.js +0 -10
  170. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ko.min.js +0 -10
  171. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/mn.min.js +0 -8
  172. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/my.min.js +0 -8
  173. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/nl.min.js +0 -9
  174. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/no_nb.min.js +0 -10
  175. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ph.min.js +0 -8
  176. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/pl.min.js +0 -9
  177. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/pt.min.js +0 -11
  178. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/pt_br.min.js +0 -11
  179. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ro.min.js +0 -12
  180. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/rs.min.js +0 -8
  181. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/rs_latin.min.js +0 -9
  182. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ru.min.js +0 -8
  183. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/sk.min.js +0 -8
  184. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/sv.min.js +0 -12
  185. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/tr.min.js +0 -9
  186. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ua.min.js +0 -8
  187. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/vi.min.js +0 -9
  188. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/zh_cn.min.js +0 -11
  189. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/zh_tw.min.js +0 -11
  190. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.js +0 -121
  191. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.min.js +0 -1
  192. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.js +0 -179
  193. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.min.js +0 -1
  194. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.js +0 -176
  195. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.min.js +0 -1
  196. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/ui/sass/trumbowyg.colors.scss +0 -49
  197. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.css +0 -43
  198. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css +0 -2
  199. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.js +0 -965
  200. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.min.js +0 -1
  201. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.min.css +0 -2
  202. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.js +0 -83
  203. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.min.js +0 -1
  204. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.js +0 -101
  205. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.min.js +0 -1
  206. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.js +0 -41
  207. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.min.js +0 -1
  208. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +0 -123
  209. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.min.js +0 -1
  210. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/table/trumbowyg.table.js +0 -154
  211. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/table/trumbowyg.table.min.js +0 -1
  212. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/template/trumbowyg.template.js +0 -58
  213. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/template/trumbowyg.template.min.js +0 -1
  214. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.js +0 -242
  215. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.min.js +0 -1
  216. data/app/assets/stylesheets/activeadmin/trumbowyg/trumbowyg.js +0 -1688
  217. data/app/assets/stylesheets/activeadmin/trumbowyg/trumbowyg.min.js +0 -2
  218. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/icons.svg +0 -1
  219. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/trumbowyg.css +0 -584
  220. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/trumbowyg.min.css +0 -2
  221. data/screenshot.jpg +0 -0
@@ -0,0 +1,9 @@
1
+ /* ===========================================================
2
+ * th.js
3
+ * Thai translation for Trumbowyg
4
+ * https://github.com/ionsoft/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Gonatee Klanktong
7
+ * Github : https://github.com/gonateek
8
+ */
9
+ jQuery.trumbowyg.langs.th={viewHTML:"ดู HTML",formatting:"จัดรูปแบบ",p:"ย่อหน้า",blockquote:"อ้างอิง",code:"โค๊ด",header:"ส่วนหัว",bold:"หนา",italic:"เอียง",strikethrough:"ขีดทับ",underline:"เส้นใต้",strong:"สำคัญ",em:"เน้น",del:"ลบ",unorderedList:"รายการ",orderedList:"รายการ(ตัวเลข)",insertImage:"ใส่รูป",insertVideo:"ใส่วิดีโอ",link:"ลิงค์",createLink:"สร้างลิงค์",unlink:"ยกเลิกลิงค์",justifyLeft:"ชิดซ้าย",justifyCenter:"กลาง",justifyRight:"ชิดขวา",justifyFull:"เต็มบรรทัด",horizontalRule:"เส้นแนวนอน",fullscreen:"เต็มหน้าจอ",close:"ปิด",submit:"ตกลง",reset:"เริ่มใหม่",required:"จำเป็น",description:"คำอธิบาย",title:"หัวเรื่อง",text:"ข้อความ"};
@@ -0,0 +1,55 @@
1
+ /* ===========================================================
2
+ * tr.js
3
+ * Turkish translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Emrah Bilbay (munzur)
7
+ * Github : https://github.com/munzur
8
+ */
9
+
10
+ jQuery.trumbowyg.langs.tr = {
11
+ viewHTML: 'HTML Kodu',
12
+
13
+ formatting: 'Biçimlendirme',
14
+ p: 'Paragraf',
15
+ blockquote: 'Alıntı',
16
+ code: 'Kod',
17
+ header: 'Başlık',
18
+
19
+ bold: 'Kalın',
20
+ italic: 'İtalik',
21
+ strikethrough: 'Üzeri çizgili',
22
+ underline: 'Altı çizgili',
23
+
24
+ strong: 'Koyu',
25
+ em: 'Vurgulu',
26
+ del: 'Üzeri çizgili',
27
+
28
+ unorderedList: 'Simgeli liste',
29
+ orderedList: 'Numaralı liste',
30
+
31
+ insertImage: 'Resim yerleştir',
32
+ insertVideo: 'Video yerleştir',
33
+ link: 'Link',
34
+ createLink: 'Link yerleştir',
35
+ unlink: 'Linki sil',
36
+
37
+ justifyLeft: 'Sola hizala',
38
+ justifyCenter: 'Ortaya hizala',
39
+ justifyRight: 'Sağa hizala',
40
+ justifyFull: 'Yasla',
41
+
42
+ horizontalRule: 'Yatay satır ekle',
43
+
44
+ fullscreen: 'Tam ekran',
45
+
46
+ close: 'Kapat',
47
+
48
+ submit: 'Onayla',
49
+ reset: 'Sıfırla',
50
+
51
+ required: 'Gerekli',
52
+ description: 'Açıklama',
53
+ title: 'Başlık',
54
+ text: 'Metin'
55
+ };
@@ -0,0 +1,54 @@
1
+ /* ===========================================================
2
+ * ua.js
3
+ * Ukrainian translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Igor Buksha
7
+ */
8
+
9
+ jQuery.trumbowyg.langs.ua = {
10
+ viewHTML: 'Подивитись HTML',
11
+
12
+ formatting: 'Форматування',
13
+ p: 'Звичайний',
14
+ blockquote: 'Витяг',
15
+ code: 'Код',
16
+ header: 'Заголовок',
17
+
18
+ bold: 'Напівжирний',
19
+ italic: 'Курсив',
20
+ strikethrough: 'Закреслений',
21
+ underline: 'Підкреслений',
22
+
23
+ strong: 'Напівжирний',
24
+ em: 'Курсив',
25
+ del: 'Закреслений',
26
+
27
+ unorderedList: 'Звичайний список',
28
+ orderedList: 'Нумерований список',
29
+
30
+ insertImage: 'Вставити зображення',
31
+ insertVideo: 'Вставити відео',
32
+ link: 'Посилання',
33
+ createLink: 'Вставити посилання',
34
+ unlink: 'Видалити посилання',
35
+
36
+ justifyLeft: 'По лівому краю',
37
+ justifyCenter: 'В центрі',
38
+ justifyRight: 'По правому краю',
39
+ justifyFull: 'По ширині',
40
+
41
+ horizontalRule: 'Горизонтальна лінія',
42
+
43
+ fullscreen: 'На весь екран',
44
+
45
+ close: 'Закрити',
46
+
47
+ submit: 'Вставити',
48
+ reset: 'Скасувати',
49
+
50
+ required: 'Обов\'язкове',
51
+ description: 'Опис',
52
+ title: 'Підказка',
53
+ text: 'Текст'
54
+ };
@@ -0,0 +1,56 @@
1
+ /* ===========================================================
2
+ * vi.js
3
+ * Vietnamese translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : heocoi
7
+ * Github: https://github.com/heocoi
8
+ */
9
+
10
+ jQuery.trumbowyg.langs.vi = {
11
+ viewHTML: 'Hiển thị HTML',
12
+
13
+ formatting: 'Định dạng',
14
+ p: 'Đoạn',
15
+ blockquote: 'Trích dẫn',
16
+ code: 'Code',
17
+ header: 'Đầu trang',
18
+
19
+ bold: 'In đậm',
20
+ italic: 'In nghiêng',
21
+ strikethrough: 'Gạch ngang',
22
+ underline: 'Gạch chân',
23
+
24
+ strong: 'In đậm',
25
+ em: 'In nghiêng',
26
+ del: 'Gạch ngang',
27
+
28
+ unorderedList: 'Danh sách không thứ tự',
29
+ orderedList: 'Danh sách có thứ tự',
30
+
31
+ insertImage: 'Chèn hình ảnh',
32
+ insertVideo: 'Chèn video',
33
+ link: 'Đường dẫn',
34
+ createLink: 'Tạo đường dẫn',
35
+ unlink: 'Hủy đường dẫn',
36
+
37
+ justifyLeft: 'Canh lề trái',
38
+ justifyCenter: 'Canh giữa',
39
+ justifyRight: 'Canh lề phải',
40
+ justifyFull: 'Canh đều',
41
+
42
+ horizontalRule: 'Thêm đường kẻ ngang',
43
+
44
+ fullscreen: 'Toàn màn hình',
45
+
46
+ close: 'Đóng',
47
+
48
+ submit: 'Đồng ý',
49
+ reset: 'Hủy bỏ',
50
+
51
+ required: 'Bắt buộc',
52
+ description: 'Mô tả',
53
+ title: 'Tiêu đề',
54
+ text: 'Nội dung',
55
+ target: 'Đối tượng'
56
+ };
@@ -6,4 +6,4 @@
6
6
  * Author : heocoi
7
7
  * Github: https://github.com/heocoi
8
8
  */
9
- jQuery.trumbowyg.langs.vi={viewHTML:"Hiển thị HTML",formatting:"Định dạng",p:"Đoạn",blockquote:"Trích dẫn",code:"Code",header:"Đầu trang",bold:"In đậm",italic:"In nghiêng",strikethrough:"Gạch ngang",underline:"Gạch chân",strong:"In đậm",em:"In nghiêng",del:"Gạch ngang",unorderedList:"Danh sách không thứ tự",orderedList:"Danh sách có thứ tự",insertImage:"Chèn hình ảnh",insertVideo:"Chèn video",link:"Đường dẫn",createLink:"Tạo đường dẫn",unlink:"Hủy đường dẫn",justifyLeft:"Canh lề trái",justifyCenter:"Canh giữa",justifyRight:"Canh lề phải",justifyFull:"Canh đều",horizontalRule:"Thêm đường kẻ ngang",fullscreen:"Toàn màn hình",close:"Đóng",submit:"Đồng ý",reset:"Hủy bỏ",required:"Bắt buộc",description:"Mô tả",title:"Tiêu đề",text:"Nội dung"};
9
+ jQuery.trumbowyg.langs.vi={viewHTML:"Hiển thị HTML",formatting:"Định dạng",p:"Đoạn",blockquote:"Trích dẫn",code:"Code",header:"Đầu trang",bold:"In đậm",italic:"In nghiêng",strikethrough:"Gạch ngang",underline:"Gạch chân",strong:"In đậm",em:"In nghiêng",del:"Gạch ngang",unorderedList:"Danh sách không thứ tự",orderedList:"Danh sách có thứ tự",insertImage:"Chèn hình ảnh",insertVideo:"Chèn video",link:"Đường dẫn",createLink:"Tạo đường dẫn",unlink:"Hủy đường dẫn",justifyLeft:"Canh lề trái",justifyCenter:"Canh giữa",justifyRight:"Canh lề phải",justifyFull:"Canh đều",horizontalRule:"Thêm đường kẻ ngang",fullscreen:"Toàn màn hình",close:"Đóng",submit:"Đồng ý",reset:"Hủy bỏ",required:"Bắt buộc",description:"Mô tả",title:"Tiêu đề",text:"Nội dung",target:"Đối tượng"};
@@ -0,0 +1,57 @@
1
+ /* ===========================================================
2
+ * zh_cn.js
3
+ * Simplified Chinese translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Liu Kai (akai)
7
+ * Twitter : @akai404
8
+ * Github : https://github.com/akai
9
+ */
10
+
11
+ // jshint camelcase:false
12
+ jQuery.trumbowyg.langs.zh_cn = {
13
+ viewHTML: '源代码',
14
+
15
+ formatting: '格式',
16
+ p: '段落',
17
+ blockquote: '引用',
18
+ code: '代码',
19
+ header: '标题',
20
+
21
+ bold: '加粗',
22
+ italic: '斜体',
23
+ strikethrough: '删除线',
24
+ underline: '下划线',
25
+
26
+ strong: '加粗',
27
+ em: '斜体',
28
+ del: '删除线',
29
+
30
+ unorderedList: '无序列表',
31
+ orderedList: '有序列表',
32
+
33
+ insertImage: '插入图片',
34
+ insertVideo: '插入视频',
35
+ link: '超链接',
36
+ createLink: '插入链接',
37
+ unlink: '取消链接',
38
+
39
+ justifyLeft: '居左对齐',
40
+ justifyCenter: '居中对齐',
41
+ justifyRight: '居右对齐',
42
+ justifyFull: '两端对齐',
43
+
44
+ horizontalRule: '插入分隔线',
45
+
46
+ fullscreen: '全屏',
47
+
48
+ close: '关闭',
49
+
50
+ submit: '确定',
51
+ reset: '取消',
52
+
53
+ required: '必需的',
54
+ description: '描述',
55
+ title: '标题',
56
+ text: '文字'
57
+ };
@@ -0,0 +1,66 @@
1
+ /* ===========================================================
2
+ * zh_tw.js
3
+ * Traditional Chinese translation for Trumbowyg
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Peter Dave Hello (PeterDaveHello)
7
+ * Twitter : @PeterDaveHello
8
+ * Github : https://github.com/PeterDaveHello
9
+ */
10
+
11
+ // jshint camelcase:false
12
+ jQuery.trumbowyg.langs.zh_tw = {
13
+ viewHTML: '原始碼',
14
+
15
+ undo: '復原',
16
+ redo: '重做',
17
+
18
+ formatting: '格式',
19
+ p: '段落',
20
+ blockquote: '引用',
21
+ code: '代碼',
22
+ header: '標題',
23
+
24
+ bold: '加粗',
25
+ italic: '斜體',
26
+ strikethrough: '刪除線',
27
+ underline: '底線',
28
+
29
+ strong: '粗體',
30
+ em: '斜體',
31
+ del: '刪除線',
32
+
33
+ superscript: '上標',
34
+ subscript: '下標',
35
+
36
+ unorderedList: '無序列表',
37
+ orderedList: '有序列表',
38
+
39
+ insertImage: '插入圖片',
40
+ insertVideo: '插入影片',
41
+ link: '超連結',
42
+ createLink: '插入連結',
43
+ unlink: '取消連結',
44
+
45
+ justifyLeft: '靠左對齊',
46
+ justifyCenter: '置中對齊',
47
+ justifyRight: '靠右對齊',
48
+ justifyFull: '左右對齊',
49
+
50
+ horizontalRule: '插入分隔線',
51
+ removeformat: '移除格式',
52
+
53
+ fullscreen: '全螢幕',
54
+
55
+ close: '關閉',
56
+
57
+ submit: '確定',
58
+ reset: '取消',
59
+
60
+ required: '必需的',
61
+ description: '描述',
62
+ title: '標題',
63
+ text: '文字',
64
+ target: '目標',
65
+ width: '寬度'
66
+ };
@@ -8,4 +8,4 @@
8
8
  * Github : https://github.com/PeterDaveHello
9
9
  */
10
10
  // jshint camelcase:false
11
- jQuery.trumbowyg.langs.zh_tw={viewHTML:"原始碼",formatting:"格式",p:"段落",blockquote:"引用",code:"代碼",header:"標題",bold:"加粗",italic:"斜體",strikethrough:"刪除線",underline:"底線",strong:"加粗",em:"斜體",del:"刪除線",unorderedList:"無序列表",orderedList:"有序列表",insertImage:"插入圖片",insertVideo:"插入影片",link:"超連結",createLink:"插入連結",unlink:"取消連結",justifyLeft:"靠左對齊",justifyCenter:"置中對齊",justifyRight:"靠右對齊",justifyFull:"左右對齊",horizontalRule:"插入分隔線",fullscreen:"全螢幕",close:"關閉",submit:"確定",reset:"取消",required:"必需的",description:"描述",title:"標題",text:"文字"};
11
+ jQuery.trumbowyg.langs.zh_tw={viewHTML:"原始碼",undo:"復原",redo:"重做",formatting:"格式",p:"段落",blockquote:"引用",code:"代碼",header:"標題",bold:"加粗",italic:"斜體",strikethrough:"刪除線",underline:"底線",strong:"粗體",em:"斜體",del:"刪除線",superscript:"上標",subscript:"下標",unorderedList:"無序列表",orderedList:"有序列表",insertImage:"插入圖片",insertVideo:"插入影片",link:"超連結",createLink:"插入連結",unlink:"取消連結",justifyLeft:"靠左對齊",justifyCenter:"置中對齊",justifyRight:"靠右對齊",justifyFull:"左右對齊",horizontalRule:"插入分隔線",removeformat:"移除格式",fullscreen:"全螢幕",close:"關閉",submit:"確定",reset:"取消",required:"必需的",description:"描述",title:"標題",text:"文字",target:"目標",width:"寬度"};
@@ -0,0 +1,162 @@
1
+ /* ===========================================================
2
+ * trumbowyg.allowTagsFromPaste.js v1.0.2
3
+ * It cleans tags from pasted text, whilst allowing several specified tags
4
+ * http://alex-d.github.com/Trumbowyg
5
+ * ===========================================================
6
+ * Author : Fathi Anshory (0x00000F5C)
7
+ * Twitter : @fscchannl
8
+ * Notes:
9
+ * - removeformatPasted must be set to FALSE since it was applied prior to pasteHandlers, or else it will be useless
10
+ * - It is most advisable to use along with the cleanpaste plugin, or else you'd end up with dirty markup
11
+ */
12
+
13
+ (function ($) {
14
+ 'use strict';
15
+
16
+ var defaultOptions = {
17
+ // When empty, all tags are allowed making this plugin useless
18
+ // If you want to remove all tags, use removeformatPasted core option instead
19
+ allowedTags: [],
20
+ // List of tags which can be allowed
21
+ removableTags: [
22
+ 'a',
23
+ 'abbr',
24
+ 'address',
25
+ 'b',
26
+ 'bdi',
27
+ 'bdo',
28
+ 'blockquote',
29
+ 'br',
30
+ 'cite',
31
+ 'code',
32
+ 'del',
33
+ 'dfn',
34
+ 'details',
35
+ 'em',
36
+ 'h1',
37
+ 'h2',
38
+ 'h3',
39
+ 'h4',
40
+ 'h5',
41
+ 'h6',
42
+ 'hr',
43
+ 'i',
44
+ 'ins',
45
+ 'kbd',
46
+ 'mark',
47
+ 'meter',
48
+ 'pre',
49
+ 'progress',
50
+ 'q',
51
+ 'rp',
52
+ 'rt',
53
+ 'ruby',
54
+ 's',
55
+ 'samp',
56
+ 'small',
57
+ 'span',
58
+ 'strong',
59
+ 'sub',
60
+ 'summary',
61
+ 'sup',
62
+ 'time',
63
+ 'u',
64
+ 'var',
65
+ 'wbr',
66
+ 'img',
67
+ 'map',
68
+ 'area',
69
+ 'canvas',
70
+ 'figcaption',
71
+ 'figure',
72
+ 'picture',
73
+ 'audio',
74
+ 'source',
75
+ 'track',
76
+ 'video',
77
+ 'ul',
78
+ 'ol',
79
+ 'li',
80
+ 'dl',
81
+ 'dt',
82
+ 'dd',
83
+ 'table',
84
+ 'caption',
85
+ 'th',
86
+ 'tr',
87
+ 'td',
88
+ 'thead',
89
+ 'tbody',
90
+ 'tfoot',
91
+ 'col',
92
+ 'colgroup',
93
+ 'style',
94
+ 'div',
95
+ 'p',
96
+ 'form',
97
+ 'input',
98
+ 'textarea',
99
+ 'button',
100
+ 'select',
101
+ 'optgroup',
102
+ 'option',
103
+ 'label',
104
+ 'fieldset',
105
+ 'legend',
106
+ 'datalist',
107
+ 'keygen',
108
+ 'output',
109
+ 'iframe',
110
+ 'link',
111
+ 'nav',
112
+ 'header',
113
+ 'hgroup',
114
+ 'footer',
115
+ 'main',
116
+ 'section',
117
+ 'article',
118
+ 'aside',
119
+ 'dialog',
120
+ 'script',
121
+ 'noscript',
122
+ 'embed',
123
+ 'object',
124
+ 'param'
125
+ ]
126
+ };
127
+
128
+ $.extend(true, $.trumbowyg, {
129
+ plugins: {
130
+ allowTagsFromPaste: {
131
+ init: function (trumbowyg) {
132
+ // Force disable remove format pasted
133
+ trumbowyg.o.removeformatPasted = false;
134
+
135
+ if (!trumbowyg.o.plugins.allowTagsFromPaste) {
136
+ return;
137
+ }
138
+
139
+ var allowedTags = trumbowyg.o.plugins.allowTagsFromPaste.allowedTags || defaultOptions.allowedTags;
140
+ var removableTags = trumbowyg.o.plugins.allowTagsFromPaste.removableTags || defaultOptions.removableTags;
141
+
142
+ if (allowedTags.length === 0) {
143
+ return;
144
+ }
145
+
146
+ // Get list of tags to remove
147
+ var tagsToRemove = $(removableTags).not(allowedTags).get();
148
+
149
+ trumbowyg.pasteHandlers.push(function () {
150
+ setTimeout(function () {
151
+ var processNodes = trumbowyg.$ed.html();
152
+ $.each(tagsToRemove, function (iterator, tagName) {
153
+ processNodes = processNodes.replace(new RegExp('<\\/?' + tagName + '(\\s[^>]*)?>', 'gi'), '');
154
+ });
155
+ trumbowyg.$ed.html(processNodes);
156
+ }, 0);
157
+ });
158
+ }
159
+ }
160
+ }
161
+ });
162
+ })(jQuery);