activeadmin_quill_editor 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: 4f143899c6a7cedac5d9ddc05ef8e7881fb4268e
4
- data.tar.gz: 2f26303f8fc0cab9a7cd372670af63cd8f901dbd
3
+ metadata.gz: 62b302336cebcf361ba3a1ccb584cfd7b4d6236c
4
+ data.tar.gz: 42811147a4164fa34ece06570d72f221ec20c7c7
5
5
  SHA512:
6
- metadata.gz: 7c2e9473b16556a80237075bcd254825ff0a7c40c7fac6f32f68d0d64c0b42018e6469e85c4d86c8ef3086b39e69f0da3eb2f93f9388814a8d41b503e387273d
7
- data.tar.gz: 46e7d0f09083734d99cfa4909a48d7e24e604f13770a431254e1eb9eb1efbd62d95fb1a9ea92c41f3c0edc018d7f34a7aef1b259fc2fd1a1fdd11503cda396e9
6
+ metadata.gz: c2b171a855d2c339a79752eaba70059df2902187d3c186272050bd5c11e0895bfdb0701ba5574835d53f8d1729aae61c5a2892eefd4643f856c4c8c21f27ac86
7
+ data.tar.gz: 2ded2a7e70cf00b817f9007279fed50408096282eb01c91523798cd85568b7391664990be8c8c6cb257ef6fb5b5033aa0da2816205bbd4963c0c0f1e1076f2e2
@@ -20,7 +20,7 @@ window.onload = function() {
20
20
  for( var i = 0; i < editors.length; i++ ) {
21
21
  var content = editors[i].querySelector( '.quill-editor-content' );
22
22
  if( content ) {
23
- var options = editors[0].getAttribute( 'data-options' ) ? JSON.parse( editors[0].getAttribute( 'data-options' ) ) : default_options;
23
+ var options = editors[i].getAttribute( 'data-options' ) ? JSON.parse( editors[i].getAttribute( 'data-options' ) ) : default_options;
24
24
  editors[i]['_quill-editor'] = new Quill( content, options );
25
25
  }
26
26
  }
@@ -1,5 +1,5 @@
1
1
  module ActiveAdmin
2
2
  module QuillEditor
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_quill_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-23 00:00:00.000000000 Z
11
+ date: 2018-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activeadmin