draftjs_html 0.10.0 → 0.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/draftjs_html/draftjs/to_raw.rb +1 -0
- data/lib/draftjs_html/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 97e119deceb20067af8250c02562af382ec70c22842ecba90030f869f96d72ff
|
4
|
+
data.tar.gz: 22dcc02184bd9bd7a8076b221035bc4d77e83d04a683d6b790a33692c8a6b0b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c52bb41b0d401101e711e9ab9661ae427b20a6fb42579f1fe6030ed319a712878161ef57866dbde9901acaa7ef58ea644ce0ee4b8fc2ffe7308a0c1f49429fc
|
7
|
+
data.tar.gz: 5f1cc51bea08ee82bc8e2f6ff34226dffad2fc51666dd88bbb15d37bd4de093d5e10441a5bbb39c2c9498193ed8dd50d6d5e2ef0b8f9867bc73998c2626aae3c
|
@@ -16,6 +16,7 @@ module DraftjsHtml
|
|
16
16
|
{
|
17
17
|
'text' => block.text,
|
18
18
|
'type' => block.type,
|
19
|
+
'depth' => block.depth,
|
19
20
|
'inlineStyleRanges' => block.inline_styles.map { { 'style' => _1.name, 'offset' => _1.offset, 'length' => _1.length } },
|
20
21
|
'entityRanges' => block.entity_ranges.map { { 'key' => _1.name, 'offset' => _1.offset, 'length' => _1.length } },
|
21
22
|
}
|
data/lib/draftjs_html/version.rb
CHANGED