class ProsemirrorToHtml::Nodes::Paragraph

Public Instance Methods

matching() click to toggle source
# File lib/prosemirror_to_html/nodes/paragraph.rb, line 5
def matching
  @node.type === 'paragraph'
end
tag() click to toggle source
# File lib/prosemirror_to_html/nodes/paragraph.rb, line 9
def tag
  'p'
end