Class: ActiveAdmin::Inputs::RichTextAreaInput
- Inherits:
-
TextInput
- Object
- Formtastic::Inputs::TextInput
- TextInput
- ActiveAdmin::Inputs::RichTextAreaInput
- Includes:
- Adminterface::Extensions::Inputs::Base
- Defined in:
- lib/adminterface/extensions/inputs/rich_text_area_input.rb
Instance Method Summary collapse
Methods included from Adminterface::Extensions::Inputs::Base::ActiveAdminConfig
#active_admin_config, #inputs_config
Methods included from Adminterface::Extensions::Inputs::Base::Pluginish
#plugin?, #plugins_configs, #plugins_options
Methods included from Adminterface::Extensions::Inputs::Base::Wrapping
#input_wrapping, #input_wrapping_html, #wrapper_classes
Methods included from Adminterface::Extensions::Inputs::Base::Labelling
Methods included from Adminterface::Extensions::Inputs::TextInput
Instance Method Details
#input_html_options ⇒ Object
8 9 10 11 |
# File 'lib/adminterface/extensions/inputs/rich_text_area_input.rb', line 8 def opts = super opts.merge(class: "trix-content #{opts[:class]}".squish) end |
#to_html ⇒ Object
13 14 15 16 17 18 |
# File 'lib/adminterface/extensions/inputs/rich_text_area_input.rb', line 13 def to_html input_wrapping do label_html << builder.rich_text_area(method, ) end end |