Class: SummernoteInput

Inherits:
SimpleForm::Inputs::TextInput
  • Object
show all
Defined in:
lib/summernote-rails/simple_form/summernote_input.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options) ⇒ Object



2
3
4
5
6
# File 'lib/summernote-rails/simple_form/summernote_input.rb', line 2

def input(wrapper_options)
  input_html_options[:data] ||= {}
  input_html_options[:data].merge!({ provider: 'summernote' })
  super
end