class HtmlToProsemirror::Nodes::Paragraph
Public Instance Methods
data()
click to toggle source
# File lib/html_to_prosemirror/nodes/paragraph.rb, line 9 def data { type: "paragraph" } end
matching()
click to toggle source
# File lib/html_to_prosemirror/nodes/paragraph.rb, line 5 def matching @node.name === 'p' end