class HtmlToProsemirror::Nodes::HardBreak

Public Instance Methods

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