class ProsemirrorToHtml::Marks::Link
Public Instance Methods
matching()
click to toggle source
# File lib/prosemirror_to_html/marks/link.rb, line 5 def matching @node.type === 'link' end
tag()
click to toggle source
# File lib/prosemirror_to_html/marks/link.rb, line 9 def tag [{ tag: "a", attrs: @node.attrs }] end