Sha256: 819b3dba4082168a8c87b558505aae852e03d99cbe63db67109049d597acf900

Contents?: true

Size: 374 Bytes

Versions: 9

Compression:

Stored size: 374 Bytes

Contents

require 'simple_form'

module Ckeditor
  module Hooks
    module SimpleForm
      class CkeditorInput < ::SimpleForm::Inputs::Base
        def input(_wrapper_options = nil)
          @builder.cktext_area(attribute_name, input_html_options)
        end
      end
    end
  end
end

::SimpleForm::FormBuilder.map_type :ckeditor, to: Ckeditor::Hooks::SimpleForm::CkeditorInput

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
glebtv-ckeditor-4.11.1 lib/ckeditor/hooks/simple_form.rb
ckeditor-4.3.0 lib/ckeditor/hooks/simple_form.rb
glebtv-ckeditor-4.7.3.1 lib/ckeditor/hooks/simple_form.rb
glebtv-ckeditor-4.7.3 lib/ckeditor/hooks/simple_form.rb
ckeditor-4.2.4 lib/ckeditor/hooks/simple_form.rb
ckeditor-4.2.3 lib/ckeditor/hooks/simple_form.rb
ckeditor-4.2.2 lib/ckeditor/hooks/simple_form.rb
ckeditor-4.2.1 lib/ckeditor/hooks/simple_form.rb
ckeditor-4.2.0 lib/ckeditor/hooks/simple_form.rb