storyblok-richtext-renderer 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/lib/.DS_Store +0 -0
- data/lib/storyblok/.DS_Store +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/bold.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/code.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/italic.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/link.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/mark.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/strike.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/strong.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/marks/underline.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/blockquote.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/blok.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/bullet_list.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/code_block.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/hard_break.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/heading.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/horizontal_rule.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/image.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/list_item.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/node.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/ordered_list.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/paragraph.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer/nodes/text.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/html_renderer.rb +0 -0
- data/lib/{richtext → storyblok/richtext}/version.rb +1 -1
- data/lib/storyblok/richtext.rb +2 -0
- data/storyblok.gemspec +1 -1
- metadata +26 -25
- data/lib/richtext.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 331711129218f929b3c2f1195224c2dec213ae4ce6a1151d7692753cd96ab427
|
4
|
+
data.tar.gz: f57ded9ee327171fd38ecc45b0f92f6eda2e539ef7b95b7e4afe7558294251ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 022dbb9bfef4f7080f9cc44309af387d4c775c46b7a1e85c285fe6c72d8b5673eff8361f955cdf02dab290926237baebfa9641460c90c91a047a558bd3f73e64
|
7
|
+
data.tar.gz: 10efb9e547a8552eee45a3ce95ef7f1815087d7c8be7c47829f6e304d6ae8b254326a5a79ab6ad80ba36ddf8a92d13582d2f6c953c84f6e592f81e440eae67ec
|
data/README.md
CHANGED
@@ -13,6 +13,7 @@ gem 'storyblok-richtext-renderer'
|
|
13
13
|
### Rendering a richtext field
|
14
14
|
|
15
15
|
```
|
16
|
+
require 'storyblok/richtext'
|
16
17
|
renderer = Storyblok::Richtext::HtmlRenderer.new
|
17
18
|
renderer.render({'type' => 'doc', 'content' => [{'type' => 'paragraph', 'content' => [{'text' => 'Good', 'type' => 'text'}]}]})
|
18
19
|
# -> <p>Good</p>
|
data/lib/.DS_Store
CHANGED
Binary file
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/storyblok.gemspec
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: storyblok-richtext-renderer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Storyblok (Alexander Feiglstorfer)
|
@@ -52,30 +52,31 @@ files:
|
|
52
52
|
- Gemfile
|
53
53
|
- README.md
|
54
54
|
- lib/.DS_Store
|
55
|
-
- lib/
|
56
|
-
- lib/richtext
|
57
|
-
- lib/richtext/html_renderer
|
58
|
-
- lib/richtext/html_renderer/marks/
|
59
|
-
- lib/richtext/html_renderer/marks/
|
60
|
-
- lib/richtext/html_renderer/marks/
|
61
|
-
- lib/richtext/html_renderer/marks/
|
62
|
-
- lib/richtext/html_renderer/marks/
|
63
|
-
- lib/richtext/html_renderer/marks/
|
64
|
-
- lib/richtext/html_renderer/marks/
|
65
|
-
- lib/richtext/html_renderer/
|
66
|
-
- lib/richtext/html_renderer/nodes/
|
67
|
-
- lib/richtext/html_renderer/nodes/
|
68
|
-
- lib/richtext/html_renderer/nodes/
|
69
|
-
- lib/richtext/html_renderer/nodes/
|
70
|
-
- lib/richtext/html_renderer/nodes/
|
71
|
-
- lib/richtext/html_renderer/nodes/
|
72
|
-
- lib/richtext/html_renderer/nodes/
|
73
|
-
- lib/richtext/html_renderer/nodes/
|
74
|
-
- lib/richtext/html_renderer/nodes/
|
75
|
-
- lib/richtext/html_renderer/nodes/
|
76
|
-
- lib/richtext/html_renderer/nodes/
|
77
|
-
- lib/richtext/html_renderer/nodes/
|
78
|
-
- lib/richtext/
|
55
|
+
- lib/storyblok/.DS_Store
|
56
|
+
- lib/storyblok/richtext.rb
|
57
|
+
- lib/storyblok/richtext/html_renderer.rb
|
58
|
+
- lib/storyblok/richtext/html_renderer/marks/bold.rb
|
59
|
+
- lib/storyblok/richtext/html_renderer/marks/code.rb
|
60
|
+
- lib/storyblok/richtext/html_renderer/marks/italic.rb
|
61
|
+
- lib/storyblok/richtext/html_renderer/marks/link.rb
|
62
|
+
- lib/storyblok/richtext/html_renderer/marks/mark.rb
|
63
|
+
- lib/storyblok/richtext/html_renderer/marks/strike.rb
|
64
|
+
- lib/storyblok/richtext/html_renderer/marks/strong.rb
|
65
|
+
- lib/storyblok/richtext/html_renderer/marks/underline.rb
|
66
|
+
- lib/storyblok/richtext/html_renderer/nodes/blockquote.rb
|
67
|
+
- lib/storyblok/richtext/html_renderer/nodes/blok.rb
|
68
|
+
- lib/storyblok/richtext/html_renderer/nodes/bullet_list.rb
|
69
|
+
- lib/storyblok/richtext/html_renderer/nodes/code_block.rb
|
70
|
+
- lib/storyblok/richtext/html_renderer/nodes/hard_break.rb
|
71
|
+
- lib/storyblok/richtext/html_renderer/nodes/heading.rb
|
72
|
+
- lib/storyblok/richtext/html_renderer/nodes/horizontal_rule.rb
|
73
|
+
- lib/storyblok/richtext/html_renderer/nodes/image.rb
|
74
|
+
- lib/storyblok/richtext/html_renderer/nodes/list_item.rb
|
75
|
+
- lib/storyblok/richtext/html_renderer/nodes/node.rb
|
76
|
+
- lib/storyblok/richtext/html_renderer/nodes/ordered_list.rb
|
77
|
+
- lib/storyblok/richtext/html_renderer/nodes/paragraph.rb
|
78
|
+
- lib/storyblok/richtext/html_renderer/nodes/text.rb
|
79
|
+
- lib/storyblok/richtext/version.rb
|
79
80
|
- storyblok.gemspec
|
80
81
|
homepage: https://github.com/storyblok/storyblok-ruby-richtext-renderer
|
81
82
|
licenses:
|
data/lib/richtext.rb
DELETED