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.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/README.md +11 -2
- data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/froala_editor.pkgd.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/languages/ar.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/bs.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/cs.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/da.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/de.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/el.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/en_ca.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/en_gb.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/es.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/et.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/fa.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/fi.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/fr.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/he.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/hr.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/hu.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/id.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/it.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/ja.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/ko.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/languages/ku.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/me.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/nb.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/nl.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/pl.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_br.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/pt_pt.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/ro.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/ru.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/sk.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/sl.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/sr.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/sv.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/th.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/tr.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/uk.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/vi.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_cn.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/languages/zh_tw.js +4 -4
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/align.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/char_counter.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_beautifier.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/code_view.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/colors.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/cryptojs.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/draggable.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/edit_in_popup.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/emoticons.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/entities.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/file.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/files_manager.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_family.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/font_size.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/forms.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/fullscreen.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/help.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/image.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/image_manager.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_class.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/inline_style.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_breaker.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/line_height.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/link.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/lists.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/markdown.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_format.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/paragraph_style.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/print.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/quick_insert.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/quote.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/save.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/special_characters.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/table.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/track_changes.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/trim_video.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/url.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/video.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins/word_paste.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/plugins.pkgd.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/third_party/embedly.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/third_party/font_awesome.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/third_party/image_tui.min.js +2 -2
- data/app/assets/javascripts/activeadmin/froala_editor/third_party/showdown.min.js +3 -3
- data/app/assets/javascripts/activeadmin/froala_editor/third_party/spell_checker.min.js +2 -2
- data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.css +1427 -1423
- data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.css +4804 -4796
- data/app/assets/stylesheets/activeadmin/froala_editor/froala_editor.pkgd.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.css +358 -356
- data/app/assets/stylesheets/activeadmin/froala_editor/froala_style.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.css +45 -45
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/char_counter.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.css +93 -93
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/code_view.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.css +94 -94
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/colors.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.css +37 -37
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/draggable.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.css +30 -30
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/emoticons.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.css +124 -124
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/file.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.css +1236 -1236
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/files_manager.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.css +75 -73
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/fullscreen.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.css +41 -41
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/help.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.css +209 -207
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.css +232 -232
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/image_manager.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.css +34 -34
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/line_breaker.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/markdown.css +145 -148
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/markdown.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.css +68 -68
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/quick_insert.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.css +29 -29
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/special_characters.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.css +107 -107
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/table.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/trim_video.css +243 -243
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/trim_video.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.css +197 -197
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins/video.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.css +3021 -3019
- data/app/assets/stylesheets/activeadmin/froala_editor/plugins.pkgd.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.css +2184 -2187
- data/app/assets/stylesheets/activeadmin/froala_editor/themes/dark.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.css +2184 -2187
- data/app/assets/stylesheets/activeadmin/froala_editor/themes/gray.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.css +2184 -2187
- data/app/assets/stylesheets/activeadmin/froala_editor/themes/royal.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.css +56 -56
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/embedly.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.css +29 -29
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/font_awesome.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.css +37 -37
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/image_tui.min.css +3 -3
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.css +60 -60
- data/app/assets/stylesheets/activeadmin/froala_editor/third_party/spell_checker.min.css +3 -3
- data/lib/activeadmin/froala_editor/version.rb +2 -2
- metadata +11 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24b75e9d2a423503420d4bffd0c3947a5696027e8dec4d11342fe2d9523f54a0
|
4
|
+
data.tar.gz: 4d96ad2ee66cc30f461971db765f26412b7af7ae3b7e7a431543532f4e738ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b48b07c5256a4f212a0a4ab1ebf9164c293c5fadb8a40e9d8e3a4c04c9d20cdd796a9e3a510da191856d31b15baf261b597c36394d2473a41f37713f06c13c69
|
7
|
+
data.tar.gz: e8666daf4160167c30d8766a8203620fd4ffecb486558e0fe419ebc86a4ce1ea01cb0d4844f14d480c996b293cdf030e5c14747ee236f59db392d9c4b0206230
|
data/LICENSE.txt
CHANGED
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)
|
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).
|