X-Git-Url: https://scm.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/e957cc2a18fd2363fe6451c2cff2edd452379f66..c15d698f84d77c34393d33dbe492d44694619010:/skins/generic/plinn_ckeditor_styles.js.dtml?ds=inline diff --git a/skins/generic/plinn_ckeditor_styles.js.dtml b/skins/generic/plinn_ckeditor_styles.js.dtml index 1fca357..d6b1d2a 100644 --- a/skins/generic/plinn_ckeditor_styles.js.dtml +++ b/skins/generic/plinn_ckeditor_styles.js.dtml @@ -1,31 +1,18 @@ -// { -// 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: 'Cellule arrondie', - element: 'td', - attributes : {'class' : 'rounded-corners'} - }, - { name: 'Image arrondie', - element: 'img', - attributes : {'class' : 'rounded-corners'} - }, - -]); +CKEDITOR.stylesSet.add('plinn_styles', [ + { + name: 'Arrondis', + className: 'rounded-corners' + }, + { + name: 'Bordure standard', + className: 'std-border' + }, + { + name: 'Fond coloré', + className: 'std-background' + }, + { + name: 'Focus', + className: 'std-focusbox' + }] +);