diff --git a/app/assets/javascripts/frameworks/main.js.erb b/app/assets/javascripts/frameworks/main.js.erb index ad807e8..ad5891d 100644 --- a/app/assets/javascripts/frameworks/main.js.erb +++ b/app/assets/javascripts/frameworks/main.js.erb @@ -28,6 +28,7 @@ Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.html or http://ckeditor.com/license */ +if (CKEDITOR) { CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: @@ -115,3 +116,4 @@ CKEDITOR.editorConfig = function( config ) } }); }; +}