builder_quill_content 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/builder_quill_content/version.rb +1 -1
- data/lib/convert_inline.rb +4 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3d82247613af647f6d7fbe2248fa838962d1978526a83e2d47332cae9ac8a6b
|
4
|
+
data.tar.gz: 9ab2101a36a93705def90f856b05f0424b614dbfa4d81c1636842ffb0e12dba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0aa1105edf460b4531f1ab5fca822dff297763fd60b0fd0aff982858cf3e5d14fc6153da93bd709ffc33183e548ffb5a5064e19b8e0420ab98f9a69525f2e7ea
|
7
|
+
data.tar.gz: 5fc8f884cb6b2abff9b11d392c1d50d3b73ffd9c842d17eba42d071ac23a6d58c50b8e3a0614a646d6120d850604a7ee75b1ce5bfcbe5d0bec7dcaedd3a20823
|
data/Gemfile.lock
CHANGED
data/lib/convert_inline.rb
CHANGED
@@ -57,12 +57,12 @@ class ConvertInline
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def image
|
60
|
-
img_src
|
61
|
-
img_cap
|
62
|
-
img_alt
|
60
|
+
img_src = @insert['wk-image']['src']
|
61
|
+
img_cap = @insert['wk-image']['caption']
|
62
|
+
img_alt = @attributes['alt']
|
63
63
|
|
64
64
|
'<figure class="post-content-image-container">
|
65
|
-
<img class="post-content-image lazy" data-src="' + img_src + '" alt="' + img_alt + '">
|
65
|
+
<img class="post-content-image lazy blur" data-src="' + img_src + '" alt="' + img_alt + '">
|
66
66
|
<figcaption class="post-image-caption u-text-center">' + img_cap + '</figcaption>
|
67
67
|
</figure>'
|
68
68
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: builder_quill_content
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Tran
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-03-
|
11
|
+
date: 2020-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|