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