Sha256: d293630463f0a8a7bfed8cdd2eff19a10403ae602e66a792ee2dd1cf21ccb43d

Contents?: true

Size: 241 Bytes

Versions: 8

Compression:

Stored size: 241 Bytes

Contents

# frozen_string_literal: true

require 'formtastic'

class CkeditorInput
  include ::Formtastic::Inputs::Base

  def to_html
    input_wrapping do
      label_html <<
        builder.cktext_area(method, input_html_options)
    end
  end
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
ckeditor-5.1.3 lib/ckeditor/hooks/formtastic.rb
ckeditor-5.1.2 lib/ckeditor/hooks/formtastic.rb
ckeditor-5.1.1 lib/ckeditor/hooks/formtastic.rb
glebtv-ckeditor-4.14.1 lib/ckeditor/hooks/formtastic.rb
ckeditor-5.1.0 lib/ckeditor/hooks/formtastic.rb
glebtv-ckeditor-4.13.1 lib/ckeditor/hooks/formtastic.rb
glebtv-ckeditor-4.13.0 lib/ckeditor/hooks/formtastic.rb
ckeditor-5.0.0 lib/ckeditor/hooks/formtastic.rb