Sha256: 0400f13834af31caa13446ae4283c3ffe5f68595c012028608397299dc772c29

Contents?: true

Size: 475 Bytes

Versions: 3

Compression:

Stored size: 475 Bytes

Contents

<%= javascript_include_tag '/ckeditor/ckeditor.js' %>
<script type="text/javascript">
window.onload = function()
{
  $('textarea').not('.excludeckeditor').each(function(){
    CKEDITOR.replace(this.id, 
      {
        customConfig: '<%= javascript_path('/ckeditor/custom_config.js') %>',
				height: 350,
				filebrowserBrowseUrl: '/admin/content_images?embedded=true',
				filebrowserWindowWidth : '640',
				filebrowserWindowHeight : '480',
      });    
  })
}
</script>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
spree-cms-0.2.1 app/views/admin/shared/_ckeditor.html.erb
spree-cms-0.2.0 app/views/admin/shared/_ckeditor.html.erb
spree-cms-0.1.0 app/views/admin/shared/_ckeditor.html.erb