X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/e957cc2a18fd2363fe6451c2cff2edd452379f66..077c4d9810b96d4b949e77f3daa0180c9d4a8c96:/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 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' + }] +);