activeadmin_trumbowyg 0.1.3 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (155) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +7 -0
  3. data/app/assets/fonts/active_admin-trumbowyg.svg +1 -1
  4. data/app/assets/javascripts/activeadmin/trumbowyg/langs/da.min.js +1 -1
  5. data/app/assets/javascripts/activeadmin/trumbowyg/langs/de.min.js +1 -1
  6. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fa.min.js +1 -1
  7. data/app/assets/javascripts/activeadmin/trumbowyg/langs/fr.min.js +3 -1
  8. data/app/assets/javascripts/activeadmin/trumbowyg/langs/lt.min.js +8 -0
  9. data/app/assets/javascripts/activeadmin/trumbowyg/langs/sq.min.js +8 -0
  10. data/app/assets/javascripts/activeadmin/trumbowyg/langs/th.min.js +9 -0
  11. data/app/assets/javascripts/activeadmin/trumbowyg/langs/zh_tw.min.js +1 -1
  12. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.js +143 -0
  13. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/allowtagsfrompaste/trumbowyg.allowtagsfrompaste.min.js +1 -0
  14. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.js +21 -1
  15. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.min.js +1 -1
  16. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.js +23 -90
  17. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.min.js +1 -1
  18. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.js +24 -2
  19. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.min.js +1 -1
  20. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/sass/trumbowyg.colors.scss +1 -1
  21. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.css +1 -1
  22. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css +1 -1
  23. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.js +1190 -876
  24. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.min.js +1 -1
  25. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/sass/trumbowyg.emoji.scss +1 -1
  26. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.css +1 -1
  27. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.min.css +1 -1
  28. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.js +82 -0
  29. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontfamily/trumbowyg.fontfamily.min.js +1 -0
  30. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontsize/trumbowyg.fontsize.js +160 -0
  31. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/fontsize/trumbowyg.fontsize.min.js +1 -0
  32. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.js +82 -0
  33. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/trumbowyg.highlight.min.js +1 -0
  34. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/sass/trumbowyg.highlight.scss +25 -0
  35. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.css +20 -0
  36. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/highlight/ui/trumbowyg.highlight.min.css +2 -0
  37. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/history/trumbowyg.history.js +202 -0
  38. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/history/trumbowyg.history.min.js +1 -0
  39. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.js +10 -1
  40. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.min.js +1 -1
  41. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.js +122 -0
  42. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/lineheight/trumbowyg.lineheight.min.js +1 -0
  43. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/trumbowyg.mathml.js +98 -0
  44. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/trumbowyg.mathml.min.js +1 -0
  45. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/sass/trumbowyg.mathml.scss +36 -0
  46. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.css +29 -0
  47. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mathml/ui/trumbowyg.mathml.min.css +2 -0
  48. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/trumbowyg.mention.js +111 -0
  49. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/trumbowyg.mention.min.js +1 -0
  50. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/sass/trumbowyg.mention.scss +39 -0
  51. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/trumbowyg.mention.css +32 -0
  52. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/mention/ui/trumbowyg.mention.min.css +2 -0
  53. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.js +12 -2
  54. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.min.js +1 -1
  55. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteembed/trumbowyg.pasteembed.js +96 -0
  56. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteembed/trumbowyg.pasteembed.min.js +1 -0
  57. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.js +1 -1
  58. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.min.js +1 -1
  59. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +16 -3
  60. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.min.js +1 -1
  61. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/trumbowyg.resizimg.js +69 -0
  62. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/resizimg/trumbowyg.resizimg.min.js +1 -0
  63. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/ruby/trumbowyg.ruby.js +82 -0
  64. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/ruby/trumbowyg.ruby.min.js +1 -0
  65. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/trumbowyg.table.js +236 -86
  66. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/trumbowyg.table.min.js +1 -1
  67. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/sass/trumbowyg.table.scss +42 -0
  68. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/trumbowyg.table.css +33 -0
  69. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/table/ui/trumbowyg.table.min.css +2 -0
  70. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/template/trumbowyg.template.js +19 -7
  71. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/template/trumbowyg.template.min.js +1 -1
  72. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.js +44 -20
  73. data/app/assets/javascripts/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.min.js +1 -1
  74. data/app/assets/javascripts/activeadmin/trumbowyg/trumbowyg.js +215 -78
  75. data/app/assets/javascripts/activeadmin/trumbowyg/trumbowyg.min.js +2 -2
  76. data/app/assets/javascripts/activeadmin/trumbowyg/ui/icons.svg +1 -1
  77. data/app/assets/javascripts/activeadmin/trumbowyg/ui/sass/trumbowyg.scss +25 -12
  78. data/app/assets/javascripts/activeadmin/trumbowyg/ui/trumbowyg.css +23 -20
  79. data/app/assets/javascripts/activeadmin/trumbowyg/ui/trumbowyg.min.css +2 -2
  80. data/app/assets/stylesheets/activeadmin/_trumbowyg_input.sass +5 -3
  81. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/icons.svg +1 -1
  82. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/sass/trumbowyg.scss +25 -12
  83. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/trumbowyg.css +23 -20
  84. data/app/assets/stylesheets/activeadmin/trumbowyg/ui/trumbowyg.min.css +2 -2
  85. data/lib/activeadmin/trumbowyg/version.rb +1 -1
  86. metadata +40 -72
  87. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ar.min.js +0 -11
  88. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/bg.min.js +0 -8
  89. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/by.min.js +0 -8
  90. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ca.min.js +0 -11
  91. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/cs.min.js +0 -8
  92. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/da.min.js +0 -9
  93. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/de.min.js +0 -9
  94. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/el.min.js +0 -12
  95. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/es.min.js +0 -9
  96. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/es_ar.min.js +0 -10
  97. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/fa.min.js +0 -10
  98. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/fi.min.js +0 -9
  99. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/fr.min.js +0 -10
  100. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/he.min.js +0 -9
  101. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/hr.min.js +0 -9
  102. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/hu.min.js +0 -10
  103. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/id.min.js +0 -11
  104. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/it.min.js +0 -8
  105. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ja.min.js +0 -10
  106. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ko.min.js +0 -10
  107. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/mn.min.js +0 -8
  108. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/my.min.js +0 -8
  109. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/nl.min.js +0 -9
  110. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/no_nb.min.js +0 -10
  111. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ph.min.js +0 -8
  112. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/pl.min.js +0 -9
  113. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/pt.min.js +0 -11
  114. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/pt_br.min.js +0 -11
  115. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ro.min.js +0 -12
  116. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/rs.min.js +0 -8
  117. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/rs_latin.min.js +0 -9
  118. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ru.min.js +0 -8
  119. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/sk.min.js +0 -8
  120. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/sv.min.js +0 -12
  121. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/tr.min.js +0 -9
  122. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/ua.min.js +0 -8
  123. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/vi.min.js +0 -9
  124. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/zh_cn.min.js +0 -11
  125. data/app/assets/stylesheets/activeadmin/trumbowyg/langs/zh_tw.min.js +0 -11
  126. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.js +0 -121
  127. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/base64/trumbowyg.base64.min.js +0 -1
  128. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.js +0 -179
  129. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/cleanpaste/trumbowyg.cleanpaste.min.js +0 -1
  130. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.js +0 -176
  131. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/trumbowyg.colors.min.js +0 -1
  132. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/ui/sass/trumbowyg.colors.scss +0 -49
  133. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.css +0 -43
  134. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/colors/ui/trumbowyg.colors.min.css +0 -2
  135. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.js +0 -965
  136. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/trumbowyg.emoji.min.js +0 -1
  137. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/ui/sass/trumbowyg.emoji.scss +0 -56
  138. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.css +0 -47
  139. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/emoji/ui/trumbowyg.emoji.min.css +0 -2
  140. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.js +0 -83
  141. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/insertaudio/trumbowyg.insertaudio.min.js +0 -1
  142. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.js +0 -101
  143. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/noembed/trumbowyg.noembed.min.js +0 -1
  144. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.js +0 -41
  145. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/pasteimage/trumbowyg.pasteimage.min.js +0 -1
  146. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.js +0 -123
  147. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/preformatted/trumbowyg.preformatted.min.js +0 -1
  148. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/table/trumbowyg.table.js +0 -154
  149. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/table/trumbowyg.table.min.js +0 -1
  150. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/template/trumbowyg.template.js +0 -58
  151. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/template/trumbowyg.template.min.js +0 -1
  152. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.js +0 -242
  153. data/app/assets/stylesheets/activeadmin/trumbowyg/plugins/upload/trumbowyg.upload.min.js +0 -1
  154. data/app/assets/stylesheets/activeadmin/trumbowyg/trumbowyg.js +0 -1688
  155. data/app/assets/stylesheets/activeadmin/trumbowyg/trumbowyg.min.js +0 -2
@@ -1,43 +0,0 @@
1
- /**
2
- * Trumbowyg v2.8.1 - A lightweight WYSIWYG editor
3
- * Trumbowyg plugin stylesheet
4
- * ------------------------
5
- * @link http://alex-d.github.io/Trumbowyg
6
- * @license MIT
7
- * @author Alexandre Demode (Alex-D)
8
- * Twitter : @AlexandreDemode
9
- * Website : alex-d.fr
10
- */
11
-
12
- .trumbowyg-dropdown-foreColor,
13
- .trumbowyg-dropdown-backColor {
14
- width: 276px;
15
- padding: 7px 5px; }
16
- .trumbowyg-dropdown-foreColor svg,
17
- .trumbowyg-dropdown-backColor svg {
18
- display: none !important; }
19
- .trumbowyg-dropdown-foreColor button,
20
- .trumbowyg-dropdown-backColor button {
21
- display: block;
22
- position: relative;
23
- float: left;
24
- text-indent: -9999px;
25
- height: 20px;
26
- width: 20px;
27
- border: 1px solid #333;
28
- padding: 0;
29
- margin: 2px; }
30
- .trumbowyg-dropdown-foreColor button:hover::after, .trumbowyg-dropdown-foreColor button:focus::after,
31
- .trumbowyg-dropdown-backColor button:hover::after,
32
- .trumbowyg-dropdown-backColor button:focus::after {
33
- content: " ";
34
- display: block;
35
- position: absolute;
36
- top: -5px;
37
- left: -5px;
38
- height: 27px;
39
- width: 27px;
40
- background: inherit;
41
- border: 1px solid #FFF;
42
- box-shadow: #000 0 0 2px;
43
- z-index: 10; }
@@ -1,2 +0,0 @@
1
- /** Trumbowyg v2.8.1 - A lightweight WYSIWYG editor - alex-d.github.io/Trumbowyg - License MIT - Author : Alexandre Demode (Alex-D) / alex-d.fr */
2
- .trumbowyg-dropdown-backColor,.trumbowyg-dropdown-foreColor{width:276px;padding:7px 5px}.trumbowyg-dropdown-backColor svg,.trumbowyg-dropdown-foreColor svg{display:none!important}.trumbowyg-dropdown-backColor button,.trumbowyg-dropdown-foreColor button{display:block;position:relative;float:left;text-indent:-9999px;height:20px;width:20px;border:1px solid #333;padding:0;margin:2px}.trumbowyg-dropdown-backColor button:focus::after,.trumbowyg-dropdown-backColor button:hover::after,.trumbowyg-dropdown-foreColor button:focus::after,.trumbowyg-dropdown-foreColor button:hover::after{content:" ";display:block;position:absolute;top:-5px;left:-5px;height:27px;width:27px;background:inherit;border:1px solid #FFF;box-shadow:#000 0 0 2px;z-index:10}