class HtmlToProsemirror::Marks::Bold

Public Instance Methods

data() click to toggle source
# File lib/html_to_prosemirror/marks/bold.rb, line 9
def data
  {
    type: "bold"
  }
end
matching() click to toggle source
# File lib/html_to_prosemirror/marks/bold.rb, line 5
def matching
  @node.name === 'strong'
end