Sha256: 85ac55bd0ba249e7b46ef25ff3e90628bc4682c1079517e04a00efd9bfa6a481

Contents?: true

Size: 287 Bytes

Versions: 1

Compression:

Stored size: 287 Bytes

Contents

module ProsemirrorToHtml
  module Nodes
    class TableHeader < TableCell
      @node_type = 'table_header'
      @tag_name = 'th'

      def tag
        [
          {
            tag: self.class.tag_name,
            attrs: @node.attrs
          }
        ]
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prosemirror_to_html-0.2.0 lib/prosemirror_to_html/nodes/table_header.rb