Class: ProsemirrorToHtml::Nodes::Paragraph
- Inherits:
-
Node
- Object
- Node
- ProsemirrorToHtml::Nodes::Paragraph
show all
- Defined in:
- lib/prosemirror_to_html/nodes/paragraph.rb
Instance Attribute Summary
Attributes inherited from Node
#type, #wrapper
Instance Method Summary
collapse
Methods inherited from Node
#initialize, #text
Instance Method Details
#matching ⇒ Object
5
6
7
|
# File 'lib/prosemirror_to_html/nodes/paragraph.rb', line 5
def matching
@node.type === 'paragraph'
end
|
#tag ⇒ Object
9
10
11
|
# File 'lib/prosemirror_to_html/nodes/paragraph.rb', line 9
def tag
'p'
end
|