summaryrefslogtreecommitdiff
path: root/modules_v3/ckeditor/ckeditor-4.3.2-custom/config.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules_v3/ckeditor/ckeditor-4.3.2-custom/config.js')
-rw-r--r--modules_v3/ckeditor/ckeditor-4.3.2-custom/config.js37
1 files changed, 37 insertions, 0 deletions
diff --git a/modules_v3/ckeditor/ckeditor-4.3.2-custom/config.js b/modules_v3/ckeditor/ckeditor-4.3.2-custom/config.js
new file mode 100644
index 0000000000..d621dac778
--- /dev/null
+++ b/modules_v3/ckeditor/ckeditor-4.3.2-custom/config.js
@@ -0,0 +1,37 @@
+/**
+ * @license Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+*/
+
+CKEDITOR.editorConfig = function( config ) {
+ // Define changes to default configuration here. For example:
+ // config.language = 'fr';
+ config.uiColor = '#FDF5E6';
+ config.autoGrow_maxHeight = 200; // set to 0 for to allow grow to full size
+ config.toolbarCanCollapse = true;
+ config.toolbar = [
+ ["Source"],
+ ["Cut", "Copy", "Paste", "PasteText", "PasteFromWord"],
+ ["Undo", "Redo", "-", "Find", "Replace", "-", "SelectAll"],
+ ["Styles"],
+ ["Link", "Unlink", "Anchor"],
+ "/",
+ ["Bold", "Italic", "Underline", "-", "Subscript", "Superscript", "RemoveFormat"],
+ ["NumberedList", "BulletedList", "-", "Outdent", "Indent", "Blockquote", "CreateDiv"],
+ ["JustifyLeft", "JustifyCenter", "JustifyRight", "JustifyBlock"],
+ ["Image", "Table", "HorizontalRule", "SpecialChar"],
+ "/",
+ ["Format", "Font", "FontSize"],
+ ["TextColor", "BGColor"],
+ ["Maximize", "ShowBlocks"]
+ ];
+ config.skin = "moono"; // moonocolor also available
+ config.extraPlugins = 'wordcount';
+ config.wordcount = {
+ showWordCount: false,
+ showCharCount: true,
+ countHTML: true,
+ charLimit: 65535,
+ wordLimit: 'unlimited'
+ };
+};