Arek Wtykło

Konfiguracja CKEditora 4.7.2

Showing 1 changed file with 12 additions and 0 deletions
@@ -4,6 +4,18 @@ @@ -4,6 +4,18 @@
4 */ 4 */
5 5
6 CKEDITOR.editorConfig = function( config ) { 6 CKEDITOR.editorConfig = function( config ) {
  7 + config.toolbar = [
  8 + {name: 'document', items: ['Source']},
  9 + {name: 'clipboard', items: ['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo']},
  10 +
  11 + {name: 'links', items: ['Link', 'Unlink', 'Anchor']},
  12 + {name: 'styles', items: ['Format', 'Font', 'FontSize']},
  13 + '/',
  14 + {name: 'basicstyles', items: ['Bold', 'Italic', 'Underline', 'Strike', 'RemoveFormat', '-', 'TextColor', 'BGColor', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock']},
  15 + {name: 'paragraph', items: ['NumberedList', 'BulletedList', 'Outdent', 'Indent']},
  16 + {name: 'insert', items: ['Image', 'Table', 'HorizontalRule', 'Smiley', 'Iframe']},
  17 + ];
  18 +
7 config.disableNativeSpellChecker = false; 19 config.disableNativeSpellChecker = false;
8 config.extraPlugins = 'autolink'; 20 config.extraPlugins = 'autolink';
9 }; 21 };