Sha256: e1a5c50fee52fd27069300cbe080bc9dec5b668fa7e5c67105a0881f0c5fb699

Contents?: true

Size: 216 Bytes

Versions: 3

Compression:

Stored size: 216 Bytes

Contents

module HtmlToProsemirror
  module Nodes
    class Paragraph < Node

      def matching
        @node.name === 'p'
      end

      def data
        {
          type: "paragraph"
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
html_to_prosemirror-0.2.0 lib/html_to_prosemirror/nodes/paragraph.rb
html_to_prosemirror-0.1.1 lib/html_to_prosemirror/nodes/paragraph.rb
html_to_prosemirror-0.1.0 lib/html_to_prosemirror/nodes/paragraph.rb