activeadmin_froala_editor 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (149) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.txt +1 -1
  3. data/README.md +11 -2
  4. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.min.js +3 -3
  5. data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.pkgd.min.js +3 -3
  6. data/app/assets/javascripts/activeadmin/froala_editor/languages/ar.js +4 -4
  7. data/app/assets/javascripts/activeadmin/froala_editor/languages/bs.js +4 -4
  8. data/app/assets/javascripts/activeadmin/froala_editor/languages/cs.js +4 -4
  9. data/app/assets/javascripts/activeadmin/froala_editor/languages/da.js +4 -4
  10. data/app/assets/javascripts/activeadmin/froala_editor/languages/de.js +4 -4
  11. data/app/assets/javascripts/activeadmin/froala_editor/languages/el.js +4 -4
  12. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_ca.js +4 -4
  13. data/app/assets/javascripts/activeadmin/froala_editor/languages/en_gb.js +4 -4
  14. data/app/assets/javascripts/activeadmin/froala_editor/languages/es.js +4 -4
  15. data/app/assets/javascripts/activeadmin/froala_editor/languages/et.js +4 -4
  16. data/app/assets/javascripts/activeadmin/froala_editor/languages/fa.js +4 -4
  17. data/app/assets/javascripts/activeadmin/froala_editor/languages/fi.js +4 -4
  18. data/app/assets/javascripts/activeadmin/froala_editor/languages/fr.js +4 -4
  19. data/app/assets/javascripts/activeadmin/froala_editor/languages/he.js +4 -4
  20. data/app/assets/javascripts/activeadmin/froala_editor/languages/hr.js +4 -4
  21. data/app/assets/javascripts/activeadmin/froala_editor/languages/hu.js +4 -4
  22. data/app/assets/javascripts/activeadmin/froala_editor/languages/id.js +4 -4
  23. data/app/assets/javascripts/activeadmin/froala_editor/languages/it.js +4 -4
  24. data/app/assets/javascripts/activeadmin/froala_editor/languages/ja.js +4 -4
  25. data/app/assets/javascripts/activeadmin/froala_editor/languages/ko.js +2 -2
  26. data/app/assets/javascripts/activeadmin/froala_editor/languages/ku.js +4 -4
  27. data/app/assets/javascripts/activeadmin/froala_editor/languages/me.js +4 -4
  28. data/app/assets/javascripts/activeadmin/froala_editor/languages/nb.js +4 -4
  29. data/app/assets/javascripts/activeadmin/froala_editor/languages/nl.js +4 -4
  30. data/app/assets/javascripts/activeadmin/froala_editor/languages/pl.js +4 -4
  31. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_br.js +4 -4
  32. data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_pt.js +4 -4
  33. data/app/assets/javascripts/activeadmin/froala_editor/languages/ro.js +4 -4
  34. data/app/assets/javascripts/activeadmin/froala_editor/languages/ru.js +4 -4
  35. data/app/assets/javascripts/activeadmin/froala_editor/languages/sk.js +4 -4
  36. data/app/assets/javascripts/activeadmin/froala_editor/languages/sl.js +4 -4
  37. data/app/assets/javascripts/activeadmin/froala_editor/languages/sr.js +4 -4
  38. data/app/assets/javascripts/activeadmin/froala_editor/languages/sv.js +4 -4
  39. data/app/assets/javascripts/activeadmin/froala_editor/languages/th.js +4 -4
  40. data/app/assets/javascripts/activeadmin/froala_editor/languages/tr.js +4 -4
  41. data/app/assets/javascripts/activeadmin/froala_editor/languages/uk.js +4 -4
  42. data/app/assets/javascripts/activeadmin/froala_editor/languages/vi.js +2 -2
  43. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_cn.js +4 -4
  44. data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_tw.js +4 -4
  45. data/app/assets/javascripts/activeadmin/froala_editor/plugins/align.min.js +2 -2
  46. data/app/assets/javascripts/activeadmin/froala_editor/plugins/char_counter.min.js +2 -2
  47. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_beautifier.min.js +2 -2
  48. data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_view.min.js +2 -2
  49. data/app/assets/javascripts/activeadmin/froala_editor/plugins/colors.min.js +2 -2
  50. data/app/assets/javascripts/activeadmin/froala_editor/plugins/cryptojs.min.js +2 -2
  51. data/app/assets/javascripts/activeadmin/froala_editor/plugins/draggable.min.js +2 -2
  52. data/app/assets/javascripts/activeadmin/froala_editor/plugins/edit_in_popup.min.js +2 -2
  53. data/app/assets/javascripts/activeadmin/froala_editor/plugins/emoticons.min.js +2 -2
  54. data/app/assets/javascripts/activeadmin/froala_editor/plugins/entities.min.js +2 -2
  55. data/app/assets/javascripts/activeadmin/froala_editor/plugins/file.min.js +3 -3
  56. data/app/assets/javascripts/activeadmin/froala_editor/plugins/files_manager.min.js +3 -3
  57. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_family.min.js +2 -2
  58. data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_size.min.js +2 -2
  59. data/app/assets/javascripts/activeadmin/froala_editor/plugins/forms.min.js +2 -2
  60. data/app/assets/javascripts/activeadmin/froala_editor/plugins/fullscreen.min.js +2 -2
  61. data/app/assets/javascripts/activeadmin/froala_editor/plugins/help.min.js +2 -2
  62. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image.min.js +3 -3
  63. data/app/assets/javascripts/activeadmin/froala_editor/plugins/image_manager.min.js +2 -2
  64. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_class.min.js +2 -2
  65. data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_style.min.js +2 -2
  66. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_breaker.min.js +2 -2
  67. data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_height.min.js +3 -3
  68. data/app/assets/javascripts/activeadmin/froala_editor/plugins/link.min.js +3 -3
  69. data/app/assets/javascripts/activeadmin/froala_editor/plugins/lists.min.js +3 -3
  70. data/app/assets/javascripts/activeadmin/froala_editor/plugins/markdown.min.js +3 -3
  71. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_format.min.js +3 -3
  72. data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_style.min.js +2 -2
  73. data/app/assets/javascripts/activeadmin/froala_editor/plugins/print.min.js +2 -2
  74. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quick_insert.min.js +2 -2
  75. data/app/assets/javascripts/activeadmin/froala_editor/plugins/quote.min.js +3 -3
  76. data/app/assets/javascripts/activeadmin/froala_editor/plugins/save.min.js +2 -2
  77. data/app/assets/javascripts/activeadmin/froala_editor/plugins/special_characters.min.js +2 -2
  78. data/app/assets/javascripts/activeadmin/froala_editor/plugins/table.min.js +3 -3
  79. data/app/assets/javascripts/activeadmin/froala_editor/plugins/track_changes.min.js +3 -3
  80. data/app/assets/javascripts/activeadmin/froala_editor/plugins/trim_video.min.js +2 -2
  81. data/app/assets/javascripts/activeadmin/froala_editor/plugins/url.min.js +2 -2
  82. data/app/assets/javascripts/activeadmin/froala_editor/plugins/video.min.js +3 -3
  83. data/app/assets/javascripts/activeadmin/froala_editor/plugins/word_paste.min.js +3 -3
  84. data/app/assets/javascripts/activeadmin/froala_editor/plugins.pkgd.min.js +3 -3
  85. data/app/assets/javascripts/activeadmin/froala_editor/third_party/embedly.min.js +2 -2
  86. data/app/assets/javascripts/activeadmin/froala_editor/third_party/font_awesome.min.js +2 -2
  87. data/app/assets/javascripts/activeadmin/froala_editor/third_party/image_tui.min.js +2 -2
  88. data/app/assets/javascripts/activeadmin/froala_editor/third_party/showdown.min.js +3 -3
  89. data/app/assets/javascripts/activeadmin/froala_editor/third_party/spell_checker.min.js +2 -2
  90. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.css +1427 -1423
  91. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.min.css +3 -3
  92. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.css +4804 -4796
  93. data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.min.css +3 -3
  94. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.css +358 -356
  95. data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.min.css +3 -3
  96. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.css +45 -45
  97. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.min.css +3 -3
  98. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.css +93 -93
  99. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.min.css +3 -3
  100. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.css +94 -94
  101. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.min.css +3 -3
  102. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.css +37 -37
  103. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.min.css +3 -3
  104. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.css +30 -30
  105. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.min.css +3 -3
  106. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.css +124 -124
  107. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.min.css +3 -3
  108. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.css +1236 -1236
  109. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.min.css +3 -3
  110. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.css +75 -73
  111. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.min.css +3 -3
  112. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.css +41 -41
  113. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.min.css +3 -3
  114. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.css +209 -207
  115. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.min.css +3 -3
  116. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.css +232 -232
  117. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.min.css +3 -3
  118. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.css +34 -34
  119. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.min.css +3 -3
  120. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/markdown.css +145 -148
  121. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/markdown.min.css +3 -3
  122. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.css +68 -68
  123. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.min.css +3 -3
  124. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.css +29 -29
  125. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.min.css +3 -3
  126. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.css +107 -107
  127. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.min.css +3 -3
  128. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/trim_video.css +243 -243
  129. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/trim_video.min.css +3 -3
  130. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.css +197 -197
  131. data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.min.css +3 -3
  132. data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.css +3021 -3019
  133. data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.min.css +3 -3
  134. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.css +2184 -2187
  135. data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.min.css +3 -3
  136. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.css +2184 -2187
  137. data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.min.css +3 -3
  138. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.css +2184 -2187
  139. data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.min.css +3 -3
  140. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.css +56 -56
  141. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.min.css +3 -3
  142. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.css +29 -29
  143. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.min.css +3 -3
  144. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.css +37 -37
  145. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.min.css +3 -3
  146. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.css +60 -60
  147. data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.min.css +3 -3
  148. data/lib/activeadmin/froala_editor/version.rb +2 -2
  149. metadata +11 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 58fa7142bbacc975bc68668292a70f4708d286c213e56c6bca5828fee4e79968
4
- data.tar.gz: d5489e19b7b1f86573bdebd6159724d697490387be58feba3fff850313f275a6
3
+ metadata.gz: 24b75e9d2a423503420d4bffd0c3947a5696027e8dec4d11342fe2d9523f54a0
4
+ data.tar.gz: 4d96ad2ee66cc30f461971db765f26412b7af7ae3b7e7a431543532f4e738ba7
5
5
  SHA512:
6
- metadata.gz: 3ce843c820b03b3664d96f7b56a7e4c7a28a32ab53fb4111742fa7bfd8034ce53aeffaa1b8c117869d878679d808c961b25043084fa3f7b396be7b03acc3c755
7
- data.tar.gz: ccf1b73ec190ccdd1626aab3c109c06566afd27cd59aa54ab25a6c3e9aafbb1a335e74a401cb907243930629b89820cec32e9ee9bc07be37b4988f68ab78f903
6
+ metadata.gz: b48b07c5256a4f212a0a4ab1ebf9164c293c5fadb8a40e9d8e3a4c04c9d20cdd796a9e3a510da191856d31b15baf261b597c36394d2473a41f37713f06c13c69
7
+ data.tar.gz: e8666daf4160167c30d8766a8203620fd4ffecb486558e0fe419ebc86a4ce1ea01cb0d4844f14d480c996b293cdf030e5c14747ee236f59db392d9c4b0206230
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2017-2020 Mattia Roccoberton
1
+ Copyright (c) 2017-2022 Mattia Roccoberton
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # ActiveAdmin Froala Editor
2
- [![gem version](https://badge.fury.io/rb/activeadmin_froala_editor.svg)](https://badge.fury.io/rb/activeadmin_froala_editor) [![gem downloads](https://badgen.net/rubygems/dt/activeadmin_froala_editor)](https://rubygems.org/gems/activeadmin_froala_editor) [![linters](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/linters.yml) [![specs](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/specs.yml/badge.svg)](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/specs.yml)
2
+ [![gem version](https://badge.fury.io/rb/activeadmin_froala_editor.svg)](https://badge.fury.io/rb/activeadmin_froala_editor)
3
+ [![gem downloads](https://badgen.net/rubygems/dt/activeadmin_froala_editor)](https://rubygems.org/gems/activeadmin_froala_editor)
4
+ [![linters](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/linters.yml/badge.svg)](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/linters.yml)
5
+ [![Specs Rails 6.1](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/specs_rails61.yml/badge.svg)](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/specs_rails61.yml)
6
+ [![Specs Rails 7.0](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/specs_rails70.yml/badge.svg)](https://github.com/blocknotes/activeadmin_froala_editor/actions/workflows/specs_rails70.yml)
3
7
 
4
8
  An Active Admin plugin to use [Froala WYSIWYG editor](https://github.com/froala/wysiwyg-editor) (jQuery required, font-awesome required & included). For Froala license / pricing see Froala website.
5
9
 
@@ -8,7 +12,7 @@ Features:
8
12
  - customizable options via data attributes in the form input;
9
13
  - plugins included, like images upload.
10
14
 
11
- ![screenshot](screenshot.png)
15
+ ![screenshot](extra/screenshot.png)
12
16
 
13
17
  Please :star: if you like it.
14
18
 
@@ -18,6 +22,7 @@ After installing Active Admin, add to your Gemfile: `gem 'activeadmin_froala_edi
18
22
 
19
23
  If you installed Active Admin **without Webpacker** support:
20
24
 
25
+ - Add a SASS/SCSS gem to your Gemfile (ex. `gem 'sassc'`)
21
26
  - Add at the end of your Active Admin styles (_app/assets/stylesheets/active_admin.scss_):
22
27
  ```css
23
28
  @import 'font-awesome/font-awesome';
@@ -94,6 +99,10 @@ Consider that this is just a basic example: images are uploaded as soon as they
94
99
  the *upload_admin_post_path*) and it doesn't provide a way to remove images (just deleting them from
95
100
  the editor will not destroy them, you'll need to implement a purge logic for that).
96
101
 
102
+ ## Changelog
103
+
104
+ The changelog is available [here](CHANGELOG.md).
105
+
97
106
  ## Do you like it? Star it!
98
107
 
99
108
  If you use this component just star it. A developer is more motivated to improve a project when there is some interest. My other [Active Admin components](https://github.com/blocknotes?utf8=✓&tab=repositories&q=activeadmin&type=source).