Class: CKEditor5::Rails::Hooks::SimpleForm::CKEditor5Input

Inherits:
SimpleForm::Inputs::Base
  • Object
show all
Defined in:
lib/ckeditor5/rails/hooks/simple_form.rb

Instance Method Summary collapse

Instance Method Details

#input(wrapper_options = nil) ⇒ Object



6
7
8
9
# File 'lib/ckeditor5/rails/hooks/simple_form.rb', line 6

def input(wrapper_options = nil)
  merged_input_options = merge_wrapper_options(input_html_options, wrapper_options)
  @builder.template.ckeditor5_editor(**editor_options(merged_input_options))
end