class Storyblok::Richtext::Nodes::Heading
Public Instance Methods
matching()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/heading.rb, line 5 def matching @node['type'] === 'heading' end
tag()
click to toggle source
# File lib/storyblok/richtext/html_renderer/nodes/heading.rb, line 9 def tag "h#{@node['attrs']['level']}" end