class HtmlToProsemirror::Nodes::Node

Attributes

type[W]
wrapper[W]

Public Class Methods

new(dom_node) click to toggle source
# File lib/html_to_prosemirror/nodes/node.rb, line 12
def initialize(dom_node)
  @node = dom_node
end

Public Instance Methods

data() click to toggle source
# File lib/html_to_prosemirror/nodes/node.rb, line 20
def data
  {}
end
matching() click to toggle source
# File lib/html_to_prosemirror/nodes/node.rb, line 16
def matching
  false
end
type() click to toggle source
# File lib/html_to_prosemirror/nodes/node.rb, line 8
def type
  @type || 'node'
end