From: Benoît Pin Date: Tue, 29 Jul 2014 15:56:38 +0000 (+0200) Subject: Nouveaux styles. X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/commitdiff_plain/891027fea0c1660c35b7d126dd207eb64facf93b?ds=inline;hp=31d7923e80d897c9297da71348b3336478a5214e Nouveaux styles. --- diff --git a/skins/generic/plinn_ckeditor_styles.js.dtml b/skins/generic/plinn_ckeditor_styles.js.dtml index 1fca357..2d4fcaf 100644 --- a/skins/generic/plinn_ckeditor_styles.js.dtml +++ b/skins/generic/plinn_ckeditor_styles.js.dtml @@ -1,31 +1,11 @@ -// { -// name: 'Name displayed in the Styles drop-down list', -// element: 'HTML element name (for example "span")', -// styles: { -// 'css-style1': 'desired value', -// 'css-style2': 'desired value', -// ... -// } -// attributes: { -// 'attribute-name1': 'desired value', -// 'attribute-name2': 'desired value', -// ... -// } -// } -//The name and element values are required, while other values are optional. - CKEDITOR.stylesSet.add( 'plinn_styles', [ - { name: 'Bloc arrondi', - element: 'div', - attributes : {'class' : 'rounded-corners'} + { name : 'Arrondis', + className : 'rounded-corners' }, - { name: 'Cellule arrondie', - element: 'td', - attributes : {'class' : 'rounded-corners'} + { name : 'Bordure standard', + className : 'std-border' }, - { name: 'Image arrondie', - element: 'img', - attributes : {'class' : 'rounded-corners'} - }, - + { name : 'Fond coloré', + className : 'std-background' + }, ]);