Class: NewCkeditor::Addons::SimpleForm::CkeditorInput

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
lib/new_ckeditor/addons/simple_form.rb

Instance Method Summary collapse

Instance Method Details

#input(_wrapper_options = nil) ⇒ Object



7
8
9
10
# File 'lib/new_ckeditor/addons/simple_form.rb', line 7

def input(_wrapper_options = nil)
  input_html_options[:editor] ||= options[:editor]
  @builder.ckeditor(attribute_name, input_html_options)
end