Sha256: 2c670a6d44cd102ff76dd73cc19fbf8b3a9c1b852420183a9e1b818d5ae61cad
Contents?: true
Size: 457 Bytes
Versions: 16
Compression:
Stored size: 457 Bytes
Contents
:javascript var ckeditor_present = (((function() {try {return CKEDITOR.version; } catch (_error) {} })()) || '').length > 0; var $head = $('head'); if (!ckeditor_present) { $head.append("<script src='#{asset_path('effective_ckeditor.js')}' />"); $head.append("<link href='#{asset_path('effective_ckeditor.css')}' type='text/css', media='screen' rel='stylesheet'/>"); }; CKEDITOR.config['effective_regions'] = #{raw(payload.to_json())};
Version data entries
16 entries across 16 versions & 1 rubygems