Sha256: d2be5a762ea9c4340b3a076db16b72f74cf259f084969ccde326577b6103b595

Contents?: true

Size: 188 Bytes

Versions: 3

Compression:

Stored size: 188 Bytes

Contents

module HtmlToProsemirror
  module Nodes
    class CodeBlockWrapper < Node
      def matching
        @node.name === 'pre'
      end

      def data
        nil
      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/code_block_wrapper.rb
html_to_prosemirror-0.1.1 lib/html_to_prosemirror/nodes/code_block_wrapper.rb
html_to_prosemirror-0.1.0 lib/html_to_prosemirror/nodes/code_block_wrapper.rb