Method: Satis::Editor::Component#value
- Defined in:
- app/components/satis/editor/component.rb
#value ⇒ Object
34 35 36 37 38 39 40 41 42 |
# File 'app/components/satis/editor/component.rb', line 34 def value if content? html_escape_once(content) elsif [:input_html]&.[](:value) [:input_html][:value] elsif form form.object.send(attribute) end end |