Ticket #17053: config.js

File config.js, 1.5 KB (added by Waseem, 7 years ago)

ckeditor config

Line 
1/**
2 * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
3 * For licensing, see LICENSE.md or http://ckeditor.com/license
4 */
5
6CKEDITOR.editorConfig = function( config ) {
7    config.enableTabKeyTools=true;
8        config.allowedContent = true;
9        config.autoParagraph = false;   
10        config.height = 650;
11    config.scayt_autoStartup = true;
12    config.grayt_autoStartup = true;
13    config.resize_enabled = false;
14        config.extraPlugins = 'tab,dialogui,dialog,a11yhelp,about,basicstyles,bidi,blockquote,clipboard,' +
15        'button,panelbutton,panel,floatpanel,colorbutton,colordialog,menu,' +
16        'contextmenu,dialogadvtab,div,elementspath,enterkey,entities,popup,' +
17        'filebrowser,find,fakeobjects,flash,floatingspace,listblock,richcombo,' +
18        'font,format,forms,horizontalrule,htmlwriter,iframe,image,indent,' +
19        'indentblock,indentlist,justify,link,list,liststyle,' +
20        'maximize,newpage,pagebreak,pastefromword,pastetext,preview,print,' +
21        'removeformat,resize,save,menubutton,scayt,selectall,showblocks,' +
22        'showborders,smiley,sourcearea,specialchar,stylescombo,tab,table,' +
23        'tabletools,templates,toolbar,undo,wsc,wysiwygarea';
24    config.contentsCss = '../internal/css/editor.css';
25    config.startupFocus = true;
26    config.scayt_inlineModeImmediateMarkup = true;
27   
28    config.disableNativeSpellChecker = false;
29    //config.removePlugins = 'magicline,elementspath,scayt,menubutton,contextmenu';
30    config.removePlugins = 'magicline,elementspath';
31    config.browserContextMenuOnCtrl = true;   
32};
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy