class ProsemirrorToHtml::Nodes::Node
Attributes
type[W]
wrapper[W]
Public Class Methods
new(data)
click to toggle source
# File lib/prosemirror_to_html/nodes/node.rb, line 12 def initialize(data) @node = data end
Public Instance Methods
matching()
click to toggle source
# File lib/prosemirror_to_html/nodes/node.rb, line 16 def matching false end
tag()
click to toggle source
# File lib/prosemirror_to_html/nodes/node.rb, line 20 def tag nil end
text()
click to toggle source
# File lib/prosemirror_to_html/nodes/node.rb, line 24 def text nil end
type()
click to toggle source
# File lib/prosemirror_to_html/nodes/node.rb, line 8 def type @type || 'node' end