Commits

Melissa Garza  committed aa53d0f

applied old configuration to the new config format

  • Participants
  • Parent commits 72655e9

Comments (0)

Files changed (1)

File ckeditor/static/javascript/ckeditor-config.js

 CKEDITOR.editorConfig = function( config ) {
     config.toolbar = [
-			['Format', 'Bold', 'Italic', 'Underline', 'Strikethrough', '-', 'Subscript', 'Superscript', '-', 'TextColor'],
-			['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
-            ['NumberedList', 'BulletedList', '-', 'Blockquote'],
-            ['Link', 'Unlink'],
-            ['Table', '-', 'Image'],
-            ['ShowBlocks', 'Source']
-		];
-
-	config.removeButtons = 'Underline,Subscript,Superscript';
-
-	config.format_tags = 'p;h1;h2;h3;pre';
-
-	config.removeDialogTabs = 'image:advanced;link:advanced';
+        ['Format', 'Bold', 'Italic', 'Underline', 'Strikethrough', '-', 'Subscript', 'Superscript', '-', 'TextColor'],
+        ['JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'],
+        ['NumberedList', 'BulletedList', '-', 'Blockquote'],
+        ['Link', 'Unlink'],
+        ['Table', '-', 'Image'],
+        ['ShowBlocks', 'Source']
+    ];
+    config.toolbarCanCollapse = true;
+	config.format_tags = 'p;h2;h3;h4;h5';
+    config.coreStyles_strike = {element: 'del', overrides: 'strike'};
+    config.coreStyles_underline = {element: 'ins', overrides: 'u'};
+    config.scayt_autoStartup = false;
+    config.disableNativeSpellChecker = false;
+    config.filebrowserUploadUrl = '/ckeditor/upload/';
+    config.filebrowserBrowseUrl = '/ckeditor/browse/';
 };