Sha256: d7480a9fc5a4965ea8eebda95a386a321749b319731108b513ac051f5e29f987

Contents?: true

Size: 278 Bytes

Versions: 1

Compression:

Stored size: 278 Bytes

Contents

module ProsemirrorToHtml
  module Nodes
    class TableCell < Node
      @node_type = 'table_cell'
      @tag_name = 'td'

      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_cell.rb