Sha256: 6728dd9d30f8fa07c0a383473145b260c556a3b5fcd3e88095c740dab6dd81b5

Contents?: true

Size: 384 Bytes

Versions: 4

Compression:

Stored size: 384 Bytes

Contents

:ruby
  js_data = {
    :jspath => javascript_path('ckeditor/init'),
    :base_location => field.base_location,
    :options => {
      :customConfig => javascript_path('ckeditor/config')
    }
  }

= form.text_area field.method_name, field.html_attributes.reverse_merge(:data => { :richtext => 'ckeditor', :options => js_data.to_json }).reverse_merge({ :value => field.form_value })

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glebtv-ckeditor-4.6.0 app/views/rails_admin/main/_form_ck_editor.html.haml
glebtv-ckeditor-4.5.10.3 app/views/rails_admin/main/_form_ck_editor.html.haml
glebtv-ckeditor-4.5.10.2 app/views/rails_admin/main/_form_ck_editor.html.haml
glebtv-ckeditor-4.5.10.1 app/views/rails_admin/main/_form_ck_editor.html.haml