Personnalisation de la liste des styles par fichier externe.
[ckeditor.git] / skins / ckeditor / config.js
index f29caf2..dea13f2 100644 (file)
@@ -11,7 +11,7 @@ CKEDITOR.editorConfig = function( config )
        
        // toolbar
        config.toolbar = [
-               { name: 'styles',               items : [ /*'Styles', */'Format', 'Font', 'FontSize' ] },
+               { name: 'styles',               items : [ 'Styles','Format', 'Font', 'FontSize' ] },
                { name: 'colors',               items : [ 'TextColor', 'BGColor' ] },
                { name: 'document',             items : [ 'Maximize', 'ShowBlocks', 'Source'] },
                { name: 'editing',              items : [ 'Find','Replace', '-', 'SelectAll'] },
@@ -37,4 +37,6 @@ CKEDITOR.editorConfig = function( config )
        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.stylesSet = 'plinn_styles:' + CKEDITOR.basePath + 'plinn_ckeditor_styles.js'; 
 };
\ No newline at end of file