activeadmin_froala_editor 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9c367d5707d86a3d134f25d924a42c034982ae5a
4
- data.tar.gz: db9bc1f65054ec8ed65c5575ca6d5427544cd1a8
3
+ metadata.gz: b2c12e486936ade79ce0cd6fa77150e8a77dc0e1
4
+ data.tar.gz: c4a5a2ab644d031a3f5edfe1177ff3697e070409
5
5
  SHA512:
6
- metadata.gz: 520157bf582542814fe622a7dba565d7953c3527f36e84790598ec2079477fdd4fc31b0a64b9edb35c4eadfdfb8dfa6870b166ee1b626dc720e780580ae66d79
7
- data.tar.gz: b04d8d23cd30ab9542abecb12f4d5adf1aab2c7a796554e1a7133d45dfa36f5e0d7b52fab648bf6ca23313855cf70c1e3e5a81c2e895cfda3ece06c27c44fb8f
6
+ metadata.gz: 23cdd0af760828bee8b9a44abb570ea492581502d0a0571a8ef360daae0c5424b22690402d982a47a3631c8a468638eadf62efbfac6e068558fd24b29c8c7675
7
+ data.tar.gz: cdd7ea07bb83b06315794d8c4577cf78340a62e826f3285a1a4e4c4bcc21acc98e8d84ae8d6bd377f615d9aa2fda7e1c2967e39ed6273b5d9223ae5845e2e1fe
data/README.md CHANGED
@@ -2,19 +2,13 @@
2
2
 
3
3
  An Active Admin plugin to use [Froala WYSIWYG editor](https://github.com/froala/wysiwyg-editor) (jQuery required, font-awesome required & included)
4
4
 
5
- Features:
6
-
7
- - modern UI
8
- - many options available
9
- - customizable
10
-
11
5
  ![screenshot](screenshot.jpg)
12
6
 
7
+ For Froala license / pricing see Froala website.
8
+
13
9
  ## Install
14
10
 
15
- - Add to your Gemfile:
16
- `gem 'activeadmin_froala_editor'`
17
- - Execute bundle
11
+ - Update your Gemfile: `gem 'activeadmin_froala_editor'` (and execute *bundle*)
18
12
  - Add at the end of your ActiveAdmin styles (_app/assets/stylesheets/active_admin.scss_):
19
13
  ```css
20
14
  @import 'font-awesome/font-awesome';
@@ -27,7 +21,7 @@ Features:
27
21
  ```
28
22
  - Use the input with `as: :froala_editor` in Active Admin model conf
29
23
 
30
- Why 2 separated scripts? In this way you can include a different version of *froala editor* if you like.
24
+ Why 2 separated scripts? In this way you can include a different version of *froala editor* if you like. The same for FontAwesome.
31
25
 
32
26
  ## Options
33
27
 
@@ -49,13 +43,15 @@ Why 2 separated scripts? In this way you can include a different version of *fro
49
43
 
50
44
  Toolbar buttons configuration:
51
45
 
52
- `f.input :description, as: :froala_editor, input_html: {data: {options: {toolbarButtons: ['undo', 'redo', '|', 'bold', 'italic']}}}`
46
+ ```ruby
47
+ f.input :description, as: :froala_editor, input_html: {data: {options: {toolbarButtons: ['undo', 'redo', '|', 'bold', 'italic']}}}
48
+ ```
53
49
 
54
50
  ## Notes
55
51
 
56
- - Actually *Code View* function doesn't work properly with this plugin
52
+ - *Code View* function doesn't work properly with this plugin
57
53
 
58
- - Upload functions (Images, Documents, Files, etc.) are not implemented yet
54
+ - For upload functions (Images, Documents, Files, etc.) see Froala docs
59
55
 
60
56
  ## Do you like it? Star it!
61
57
 
@@ -69,4 +65,6 @@ Take a look at [other ActiveAdmin components](https://github.com/blocknotes?utf8
69
65
 
70
66
  ## License
71
67
 
72
- [MIT](LICENSE.txt)
68
+ Froala License: see Froala website
69
+
70
+ Plugin License: [MIT](LICENSE.txt)
@@ -1,5 +1,5 @@
1
- @import 'activeadmin/froala_editor/froala_editor.pkgd.css'
2
- @import 'activeadmin/froala_editor/froala_style.css'
1
+ @import 'activeadmin/froala_editor/froala_editor.pkgd'
2
+ @import 'activeadmin/froala_editor/froala_style'
3
3
 
4
4
  body.active_admin form .froala_editor
5
5
  i.fa
@@ -1,5 +1,5 @@
1
1
  module ActiveAdmin
2
2
  module FroalaEditor
3
- VERSION = '0.1.1'
3
+ VERSION = '0.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_froala_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-15 00:00:00.000000000 Z
11
+ date: 2017-10-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin