Files
2024-12-12 15:33:18 +01:00

26 lines
1.1 KiB
JavaScript

CKEDITOR.editorConfig = function( config ) {
config.autoParagraph = false;
config.toolbar = 'MyToolbar';
config.toolbar_MyToolbar =
[
['Cut','Copy','Paste','PasteText','PasteFromWord'],
['TransformTextToUppercase', 'TransformTextToLowercase', 'TransformTextCapitalize', 'TransformTextSwitcher'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','CreateDiv'],
['TextColor','BGColor'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink'],
['Image','Flash','Youtube','Table','HorizontalRule','SpecialChar'],
['Styles','Format','Font','FontSize','Source','Maximize']
];
config.toolbar = 'Basic';
config.toolbar_Basic =
[
['Bold', 'Italic','Underline', 'Strike', '-', 'TextColor','BGColor', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink', '-', 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','Source']
];
config.skin = 'bootstrapck';
config.defaultLanguage = 'pl';
config.extraPlugins = 'justify,font,tableresize,autogrow,find,texttransform,colorbutton';
};