Sha256: 4d9b197f7535299a3320c32f9c0ddc00d0c9fb74ca24fc9a378e84ed7e94406a
Contents?: true
Size: 376 Bytes
Versions: 6
Compression:
Stored size: 376 Bytes
Contents
= render 'forms/inputs/form_field', :form => form, :field => field - field_id = form_field_id(form, field) = javascript_include_tag "rich/base.js" :javascript var instance = CKEDITOR.instances['#{field_id}']; if(instance) { CKEDITOR.remove(instance); } CKEDITOR.replace('#{field_id}', #{Rich.options(field.config, field.scope_type, field.scope_id).to_json.html_safe});
Version data entries
6 entries across 6 versions & 1 rubygems