class HtmlToProsemirror::Marks::Mark
Attributes
type[W]
Public Class Methods
new(dom_node)
click to toggle source
# File lib/html_to_prosemirror/marks/mark.rb, line 10 def initialize(dom_node) @node = dom_node end
Public Instance Methods
data()
click to toggle source
# File lib/html_to_prosemirror/marks/mark.rb, line 18 def data [] end
matching()
click to toggle source
# File lib/html_to_prosemirror/marks/mark.rb, line 14 def matching false end
type()
click to toggle source
# File lib/html_to_prosemirror/marks/mark.rb, line 6 def type @type || 'mark' end