Sha256: 284efae0a2c3020e5d3a62efb480edd185a7b4b56eb675276a841c8e71bf63cc

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

var ckeditor_init = function() {
  $('.ckeditor').each(function() {
    var editor_id = $(this).attr('id');
    if (!CKEDITOR.instances[editor_id]) { CKEDITOR.replace(); }
  });
};

$(document).ready(ckeditor_init);
$(document).on('turbolinks:load', ckeditor_init);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cortex-plugins-core-0.7.0 app/assets/javascripts/ckeditor/turbolinks.js