Browse Source

Check ckeditor if defined

pull/7/head
Angel Aviel Domaoan 4 years ago committed by Angel Aviel Domaoan
parent
commit
8e9dde44d5
  1. 2
      app/assets/javascripts/frameworks/main.js.erb

2
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 For licensing, see LICENSE.html or http://ckeditor.com/license
*/ */
if (CKEDITOR) {
CKEDITOR.editorConfig = function( config ) CKEDITOR.editorConfig = function( config )
{ {
// Define changes to default configuration here. For example: // Define changes to default configuration here. For example:
@ -115,3 +116,4 @@ CKEDITOR.editorConfig = function( config )
} }
}); });
}; };
}

Loading…
Cancel
Save