class ProsemirrorToHtml::Nodes::HardBreak

Public Instance Methods

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