X-Git-Url: https://scm.cri.mines-paristech.fr/git/ckeditor.git/blobdiff_plain/4e06061f8cad39fecaad5217625c72e5bad76e78..e7f8fb547940c134de50db80ffaf54be1135ca7b:/skins/ckeditor/config.js?ds=inline diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index b514987..9aeb8f7 100644 --- a/skins/ckeditor/config.js +++ b/skins/ckeditor/config.js @@ -11,7 +11,7 @@ CKEDITOR.editorConfig = function( config ) // toolbar config.toolbar = [ - { name: 'styles', items : [ 'Styles', 'Format', 'Font', 'FontSize' ] }, + { name: 'styles', items : [ 'PlinnStyles','Format', 'Font', 'FontSize' ] }, { name: 'colors', items : [ 'TextColor', 'BGColor' ] }, { name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] }, { name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] }, @@ -36,5 +36,7 @@ CKEDITOR.editorConfig = function( config ) config.filebrowserWindowWidth = 801; config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector'; config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size. - config.extraPlugins = 'plinn_image,codemirror'; + config.extraPlugins = 'plinn_image,plinn_styles,codemirror'; + + config.stylesSet = 'plinn_styles:' + CKEDITOR.basePath + 'plinn_ckeditor_styles.js'; }; \ No newline at end of file