1 | /** |
---|
2 | * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. |
---|
3 | * For licensing, see LICENSE.md or http://ckeditor.com/license |
---|
4 | */ |
---|
5 | |
---|
6 | CKEDITOR.editorConfig = function( config ) { |
---|
7 | // Define changes to default configuration here. For example: |
---|
8 | // config.language = 'fr'; |
---|
9 | // config.uiColor = '#AADC6E'; |
---|
10 | // Update By Riddhish Rajani , Date: 15-Dec-2015 |
---|
11 | |
---|
12 | |
---|
13 | |
---|
14 | // Define changes to default configuration here. For example: |
---|
15 | // config.language = 'fr'; |
---|
16 | // config.uiColor = '#AADC6E'; |
---|
17 | |
---|
18 | //Do Comment Bellow upto font arial |
---|
19 | |
---|
20 | //config.entities = false; |
---|
21 | //config.basicEntities = false; |
---|
22 | //config.entities_greek = false; |
---|
23 | //config.entities_latin = false; |
---|
24 | //config.htmlDecodeOutput = false; |
---|
25 | //config.allowedContent = true; |
---|
26 | config.font_defaultLabel = 'Arial'; |
---|
27 | config.fontSize_defaultLabel = '12px'; |
---|
28 | //config.extraPlugins = 'tokens,htmlbuttons'; |
---|
29 | config.extraPlugins = 'dropdown'; |
---|
30 | |
---|
31 | config.pasteFromWordRemoveFontStyles = true; |
---|
32 | config.pasteFromWordRemoveStyles = true; |
---|
33 | config.resize_enabled = true; |
---|
34 | config.extraPlugins = 'tableresize'; |
---|
35 | |
---|
36 | |
---|
37 | config.toolbar = [ |
---|
38 | //{ name: 'document', items: ['Source', '-', 'Save', 'NewPage', 'DocProps', 'Preview', 'Print', '-', 'Templates'] }, |
---|
39 | // {name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] }, |
---|
40 | { name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo'] }, |
---|
41 | // { name: 'editing', items: ['Find', 'Replace', '-', 'SelectAll', '-', 'SpellChecker', 'Scayt'] }, |
---|
42 | // { name: 'forms', items: ['Form', 'Checkbox', 'Radio', 'TextField', 'Textarea', 'Select', 'Button', 'ImageButton', 'HiddenField'] }, |
---|
43 | { name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat'] }, |
---|
44 | { name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'SpecialChar'] }, |
---|
45 | { name: 'colors', items: ['TextColor', 'BGColor'] }, |
---|
46 | |
---|
47 | '/', |
---|
48 | |
---|
49 | // { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl'] }, |
---|
50 | { name: 'paragraph', items: ['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', ] }, |
---|
51 | // { name: 'links', items: ['Link', 'Unlink', 'Anchor'] }, |
---|
52 | { name: 'links', items: ['Link', 'Unlink'] }, |
---|
53 | { name: 'styles', items: ['Styles', 'Format', 'Font', 'dropdown'] }, |
---|
54 | //{ name: 'Dropdown' }, |
---|
55 | //{ name: 'insertTable', items: ['2x2Table', '-', '2x3Table', '-', '2x4Table', '-', '2x5Table', '-', '2x6Table', '-', '2x7Table', '-', '2x8Table', '-', '2x9Table', '-', '2x10Table'] }, |
---|
56 | // { name: 'insert', items: ['Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak', 'Iframe'] }, |
---|
57 | |
---|
58 | // '/', |
---|
59 | |
---|
60 | |
---|
61 | // { name: 'tools', items: ['Maximize', 'ShowBlocks', '-', 'About'] } |
---|
62 | { name: 'styles', items: ['FontSize'] }, |
---|
63 | { name: 'tools', items: ['Maximize'] } |
---|
64 | ]; |
---|
65 | |
---|
66 | }; |
---|