Commit 8c0a63cc by pupi1985

Remove essential CKEditor configuration from config.js file

parent 40f15d44
......@@ -27,9 +27,6 @@ CKEDITOR.editorConfig = function( config ) {
// Make dialogs simpler
config.removeDialogTabs = 'image:advanced;link:advanced;table:advanced';
// Use form upload instead of XHR
config.filebrowserUploadMethod = 'form';
// Use native spell checking (note: Ctrl+right-click is required for native context menu)
config.disableNativeSpellChecker = false;
......
......@@ -170,6 +170,7 @@ class qa_wysiwyg_editor
// File uploads
($uploadimages ? " filebrowserImageUploadUrl: $imageUploadUrl," : ""),
($uploadall ? " filebrowserUploadUrl: $fileUploadUrl," : ""),
" filebrowserUploadMethod: 'form',", // Use form upload instead of XHR
// Set language to Q2A site language, falling back to English if not available.
" defaultLanguage: 'en',",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment