From e26345ed9b0afe560d7f06d8cbbc9698eba433d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Benoi=CC=82t=20Pin?= Date: Tue, 22 Jul 2014 18:30:46 +0200 Subject: [PATCH] Personnalisation de la liste des styles par fichier externe. --- skins/ckeditor/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/skins/ckeditor/config.js b/skins/ckeditor/config.js index f29caf2..dea13f2 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 : [ '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 -- 2.20.1