activeadmin_quill_editor 0.3.2 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 903463a2d267f41c4f3e6faacac19b0be30ccea0556e1bf335e8e526eb975266
4
- data.tar.gz: bff76b84ff4dd6e84668b19ac17493a4dfcc18cfb93e919871045173b43a7a12
3
+ metadata.gz: 57830dc898984bfede040d03d6892506900a7ea931d7af281bb8580ba2a4177f
4
+ data.tar.gz: fdb6f426cda6f9d90e23dbb3afa4f95d618c6aff12e41e1213390b7588613ed8
5
5
  SHA512:
6
- metadata.gz: 37e03be553637945bf6157c906f012869b2ec4979a967a798117d7921f63bab5a56099d24d175f74a449b58089791523fd30516d3d175aeb16a3e0ee09f4f3a6
7
- data.tar.gz: 8073f8bbcdac778e575cc52785e32f496de415f5735fc6c8b16d2c14bc02e211f5dfa9fe3e2956cbf74e771700e294e2f8b4b3feaf7c26570b675f97c8297afa
6
+ metadata.gz: 35cb65aa5019a592b3c000aa94149cc101242cee56529a045af93826bfeb64f9db4ce2d22423a8e181c6866a5360c06b28db9ceffbb647a72685324ff784d116
7
+ data.tar.gz: c24d150941cb23118d55ce224dab457834d1d4408e252bf7fdcd4cdf5c6b94e50e08cada7a668f3dbd69a4daedf0db5c9723a10a1cadfc303190362eeb5916e7
data/README.md CHANGED
@@ -89,14 +89,7 @@ the editor will not destroy them, you'll need to implement a purge logic for tha
89
89
  ## Do you like it? Star it!
90
90
  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).
91
91
 
92
- <div style="background: #d1ecf1; margin: 0 auto; padding: 10px; text-align: center; width: 60%">
93
- <p style="color: #0c5460">Or consider offering me a coffee please,<br/>it's a small thing but it is greatly appreciated.</p>
94
- <form action="https://www.paypal.com/donate" method="post" target="_top">
95
- <input type="hidden" name="hosted_button_id" value="CT86ENQEBBB5N" />
96
- <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
97
- <img alt="" border="0" src="https://www.paypal.com/en_IT/i/scr/pixel.gif" width="1" height="1" />
98
- </form>
99
- </div>
92
+ Or consider offering me a coffee, it's a small thing but it is greatly appreciated: [about me](https://www.blocknot.es/about-me).
100
93
 
101
94
  ## Contributors
102
95
  - [Mattia Roccoberton](http://blocknot.es): author
@@ -85,11 +85,7 @@
85
85
  }
86
86
 
87
87
  // --- events ------------------------------------------------------------------
88
- $(document).ready(() => {
89
- initQuillEditors()
90
- })
91
-
92
- $(document).on('has_many_add:after', '.has_many_container', () => {
93
- initQuillEditors()
94
- })
88
+ $(document).ready(initQuillEditors)
89
+ $(document).on('has_many_add:after', '.has_many_container', initQuillEditors)
90
+ $(document).on('turbolinks:load', initQuillEditors)
95
91
  })()
@@ -2,6 +2,6 @@
2
2
 
3
3
  module ActiveAdmin
4
4
  module QuillEditor
5
- VERSION = '0.3.2'
5
+ VERSION = '0.3.4'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activeadmin_quill_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mattia Roccoberton
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-03-14 00:00:00.000000000 Z
11
+ date: 2021-03-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin