LDAPAccountManager/lam/templates/lib/extra/ckeditor/config.js

41 lines
1.8 KiB
JavaScript
Raw Normal View History

2014-04-11 20:04:33 +00:00
/**
2018-06-17 16:07:19 +00:00
* @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
* For licensing, see https://ckeditor.com/legal/ckeditor-oss-license
2014-04-11 20:04:33 +00:00
*/
CKEDITOR.editorConfig = function( config ) {
2014-04-11 20:04:33 +00:00
// %REMOVE_START%
// The configuration options below are needed when running CKEditor from source files.
config.plugins = 'dialogui,dialog,basicstyles,blockquote,notification,button,toolbar,clipboard,panel,floatpanel,menu,contextmenu,resize,elementspath'
+ ',enterkey,entities,popup,filetools,filebrowser,floatingspace,listblock,richcombo,format,horizontalrule,htmlwriter,wysiwygarea,image,indent'
+ ',indentlist,fakeobjects,link,list,magicline,maximize,pastetext,removeformat,showborders,sourcearea,specialchar,menubutton,stylescombo,tab'
+ ',table,tabletools,tableselection,undo,lineutils,widgetselection,widget,notificationaggregator,iframe,justify,font,panelbutton,colordialog,colorbutton,youtube';
2014-04-11 20:04:33 +00:00
config.skin = 'kama';
// %REMOVE_END%
// Define changes to default configuration here.
2018-06-17 16:07:19 +00:00
// For complete reference see:
2014-04-11 20:04:33 +00:00
// http://docs.ckeditor.com/#!/api/CKEDITOR.config
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
2018-06-17 16:07:19 +00:00
{ name: 'editing', groups: [ 'find', 'selection' ] },
2014-04-11 20:04:33 +00:00
{ name: 'links' },
{ name: 'insert' },
{ name: 'tools' },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others' },
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'colors' },
2018-06-17 16:07:19 +00:00
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
{ name: 'styles' }
2014-04-11 20:04:33 +00:00
];
2018-06-17 16:07:19 +00:00
// Set the most common block elements.
2014-04-11 20:04:33 +00:00
config.format_tags = 'p;h1;h2;h3;pre';
2018-06-17 16:07:19 +00:00
config.height = 150;
2014-04-11 20:04:33 +00:00
};