X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/55eea9a336dd3e6ad94e38822dbc49145e15424d..891027fea0c1660c35b7d126dd207eb64facf93b:/skins/generic/plinn_ckeditor_styles.js.dtml?ds=sidebyside diff --git a/skins/generic/plinn_ckeditor_styles.js.dtml b/skins/generic/plinn_ckeditor_styles.js.dtml index 2d4711e..2d4fcaf 100644 --- a/skins/generic/plinn_ckeditor_styles.js.dtml +++ b/skins/generic/plinn_ckeditor_styles.js.dtml @@ -1,26 +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: 'Coins arrondis', - element: 'div', - attributes : {'class' : 'news_box'} + { name : 'Arrondis', + className : 'rounded-corners' }, - { name: 'cellule arrondie', - element: 'td', - attributes : {'class' : 'news_box'} + { name : 'Bordure standard', + className : 'std-border' }, + { name : 'Fond coloré', + className : 'std-background' + }, ]);