effective_bootstrap 0.1.10 → 0.1.11
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16e5df6b769aa6d131ac59f5481a3d960762bf9a
|
4
|
+
data.tar.gz: aeb6a2c4235c972aec2e9f0cf0676e383f2ea176
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bda57cdfb75a7d8fbec0a9d9c22f84e7f18bde428e24177a34ff4a33ec10c9077d41834151093c1bc9deb0c4c5514c1349a30ea98405321507b9d0b311d5d15
|
7
|
+
data.tar.gz: 4f7ebc374cd633d91159722024b006afe666eab62c4789ea0b6c7e446dd2448a6a47ee27d601b9e5ca6598b9780d64d53a3f8ee459895fba2dba3e9eec8affb4
|
@@ -27,5 +27,7 @@
|
|
27
27
|
(this.EffectiveBootstrap || {}).effective_editor_tag = ($element, options) ->
|
28
28
|
quill = new Quill('#' + $element.attr('id'), options)
|
29
29
|
|
30
|
-
|
31
|
-
|
30
|
+
content = ($element.attr('data-delta') || '')
|
31
|
+
|
32
|
+
if content.length > 0
|
33
|
+
if content.startsWith('{') then quill.setContents($element.data('delta')) else quill.pasteHTML(content)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: effective_bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Code and Effect
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|