Class: Practical::Views::TiptapDocumentComponent::Paragraph

Inherits:
Node
  • Object
show all
Defined in:
app/components/practical/views/tiptap_document_component.rb

Instance Attribute Summary

Attributes inherited from Node

#node_content

Instance Method Summary collapse

Methods inherited from Node

#initialize, #render_node_contents

Methods included from NodeRendering

#render_node

Methods included from ElementHelper

#grab, #mix

Constructor Details

This class inherits a constructor from Practical::Views::TiptapDocumentComponent::Node

Instance Method Details

#callObject



118
119
120
121
122
# File 'app/components/practical/views/tiptap_document_component.rb', line 118

def call
  tag.p {
    render_node_contents
  }
end