Sha256: fa0049fcbed06f4ae171d9260a621e329920b5e7775cfd0f4cf1e6314974d39c

Contents?: true

Size: 460 Bytes

Versions: 4

Compression:

Stored size: 460 Bytes

Contents

//= require jquery
//= require jquery_ujs
//= require tinymce-jquery

$(function() {
  $('.tinymce').tinymce({});

  $('#content_block_allow_html').change(function() {
    if ($(this).is(':checked')) {
      $('#content_block_content').tinymce({});
    } else {
      $('#content_block_content_container').remove();
      $('#content_block_content').css('display', 'inline-block');
      $('#content_block_content').attr('aria-hidden', 'false');
    }
  })
})

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
manifest-rails-0.1.3 app/assets/javascripts/manifest/main.js
manifest-rails-0.1.2 app/assets/javascripts/manifest/main.js
manifest-rails-0.1.1 app/assets/javascripts/manifest/main.js
manifest-rails-0.1.0 app/assets/javascripts/manifest/main.js