class ProsemirrorToHtml::Nodes::Image
Public Instance Methods
matching()
click to toggle source
# File lib/prosemirror_to_html/nodes/image.rb, line 5 def matching @node.type === 'img' end
tag()
click to toggle source
# File lib/prosemirror_to_html/nodes/image.rb, line 9 def tag # doc.img(:src => @node.attrs.src) 'img' end