Class: Koi::Tables::Body::RichTextComponent
- Inherits:
-
Koi::Tables::BodyCellComponent
- Object
- Katalyst::Tables::BodyCellComponent
- Koi::Tables::BodyCellComponent
- Koi::Tables::Body::RichTextComponent
- Defined in:
- app/components/koi/tables/body.rb
Overview
Displays the plain text for rich text content
Adds a title attribute to allow for hover over display of the full content
Instance Method Summary collapse
Methods inherited from Koi::Tables::BodyCellComponent
#before_render, #rendered_value, #to_s
Instance Method Details
#default_html_attributes ⇒ Object
142 143 144 |
# File 'app/components/koi/tables/body.rb', line 142 def default_html_attributes { title: value.to_plain_text } end |