lib/storyblok/richtext/html_renderer.rb in storyblok-richtext-renderer-0.0.4 vs lib/storyblok/richtext/html_renderer.rb in storyblok-richtext-renderer-0.0.5
- old
+ new
@@ -8,10 +8,11 @@
require_relative "html_renderer/marks/bold"
require_relative "html_renderer/marks/strong"
require_relative "html_renderer/marks/code"
require_relative "html_renderer/marks/italic"
require_relative "html_renderer/marks/link"
+ require_relative "html_renderer/marks/styled"
require_relative "html_renderer/nodes/node"
require_relative "html_renderer/nodes/bullet_list"
require_relative "html_renderer/nodes/code_block"
require_relative "html_renderer/nodes/hard_break"
require_relative "html_renderer/nodes/heading"
@@ -32,10 +33,11 @@
Storyblok::Richtext::Marks::Strike,
Storyblok::Richtext::Marks::Underline,
Storyblok::Richtext::Marks::Strong,
Storyblok::Richtext::Marks::Code,
Storyblok::Richtext::Marks::Italic,
- Storyblok::Richtext::Marks::Link
+ Storyblok::Richtext::Marks::Link,
+ Storyblok::Richtext::Marks::Styled
]
@nodes = [
Storyblok::Richtext::Nodes::HorizontalRule,
Storyblok::Richtext::Nodes::Blockquote,
Storyblok::Richtext::Nodes::BulletList,