X-Git-Url: https://scm.cri.ensmp.fr/git/ckeditor.git/blobdiff_plain/45e45b704882d7f41ca8f80b2ab69ab6a6a8e4b7..4bd080d5604dd3d2f4b172f061903f50df295234:/skins/ckeditor/config.js diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index 19c2459..2944bb0 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -8,6 +8,8 @@ CKEDITOR.editorConfig = function( config ) // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; + + // toolbar config.toolbar = [ { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, @@ -18,9 +20,12 @@ CKEDITOR.editorConfig = function( config ) { name: 'basicstyles', items : [ 'Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript', '-', 'RemoveFormat' ] }, { name: 'paragraph', items : [ 'NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', 'CreateDiv', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] }, { name: 'links', items : [ 'Link', 'Unlink', 'Anchor' ] }, - { name: 'insert', items : [ 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, + { name: 'insert', items : [ 'PlinnImage', 'Image', 'Flash', 'Table', 'HorizontalRule', 'SpecialChar', 'PageBreak'] }, ]; + // context menu + config.menu_groups = 'tablecell,tablecellproperties,tablerow,tablecolumn,table,anchor,link,image,flash' + config.height = '500px'; config.contentsCss = CKEDITOR.basePath + 'global_plinn_style.css';