Class: ProsemirrorToHtml::Nodes::BulletList

Inherits:
Node
  • Object
show all
Defined in:
lib/prosemirror_to_html/nodes/bullet_list.rb

Instance Attribute Summary

Attributes inherited from Node

#type, #wrapper

Instance Method Summary collapse

Methods inherited from Node

#initialize, #tag, #text

Constructor Details

This class inherits a constructor from ProsemirrorToHtml::Nodes::Node

Instance Method Details

#dataObject



9
10
11
# File 'lib/prosemirror_to_html/nodes/bullet_list.rb', line 9

def data
  'ul'
end

#matchingObject



5
6
7
# File 'lib/prosemirror_to_html/nodes/bullet_list.rb', line 5

def matching
  @node.type === 'bullet_list'
end