48 lines
2.0 KiB
JavaScript
48 lines
2.0 KiB
JavaScript
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
|
|
CKEDITOR.editorConfig = function( config ) {
|
|
|
|
config.language = 'pl';
|
|
|
|
config.toolbarGroups = [
|
|
'/',
|
|
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
|
|
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker', 'editing' ] },
|
|
{ name: 'forms', groups: [ 'forms' ] },
|
|
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
|
|
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi', 'paragraph' ] },
|
|
{ name: 'links', groups: [ 'links' ] },
|
|
{ name: 'insert', groups: [ 'insert' ] },
|
|
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
|
|
'/',
|
|
{ name: 'styles', groups: [ 'styles' ] },
|
|
{ name: 'colors', groups: [ 'colors' ] },
|
|
{ name: 'tools', groups: [ 'tools' ] },
|
|
{ name: 'others', groups: [ 'others' ] },
|
|
{ name: 'about', groups: [ 'about' ] }
|
|
];
|
|
|
|
config.removeButtons = 'Save,NewPage,ExportPdf,Preview,Print,Templates,Cut,Copy,Paste,PasteText,PasteFromWord,Find,Replace,SelectAll,Scayt,Form,Checkbox,Radio,TextField,Textarea,Select,Button,ImageButton,HiddenField,Styles,Maximize,About,BidiLtr,Unlink,Anchor,Outdent,Indent,Language,Table,Flash,HorizontalRule,Smiley,SpecialChar,PageBreak,Iframe,Format,Font,FontSize,TextColor,BGColor,ShowBlocks,BidiRtl,CreateDiv,Blockquote,CopyFormatting';
|
|
|
|
// Remove some buttons provided by the standard plugins, which are
|
|
// not needed in the Standard(s) toolbar.
|
|
//config.removeButtons = 'Underline,Subscript,Superscript';
|
|
|
|
// Set the most common block elements.
|
|
// config.format_tags = 'p;h1;h2;h3;pre';
|
|
//
|
|
// // Simplify the dialog windows.
|
|
// config.removeDialogTabs = 'image:advanced;link:advanced';
|
|
// // config.extraPlugins = 'pbckcode'; config.extraPlugins = 'justify';
|
|
// config.extraPlugins = 'mediaembed,lightbox,justify';
|
|
config.skin = 'office2013';
|
|
//config.contentsCss = 'http://localhost/CMSv2/dev/src/Static/css/Strona/style.css';
|
|
|
|
|
|
|
|
}; |