Sha256: c1fb000efa95cc1d54e310496429bb651696b06d451fcd3978c5d5cef32a9c70

Contents?: true

Size: 378 Bytes

Versions: 4

Compression:

Stored size: 378 Bytes

Contents

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

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rails_admin_hstore_translate-0.2.1 app/views/rails_admin/main/_form_ck_editorml.html.haml
rails_admin_hstore_translate-0.2.0 app/views/rails_admin/main/_form_ck_editorml.html.haml
rails_admin_hstore_translate-0.1.1 app/views/rails_admin/main/_form_ck_editorml.html.haml
rails_admin_hstore_translate-0.1.0 app/views/rails_admin/main/_form_ck_editorml.html.haml