X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/55eea9a336dd3e6ad94e38822dbc49145e15424d..a8ce11cea15f572925793b181a06fdd5b9b4127a:/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..d6b1d2a 100644 --- a/skins/generic/plinn_ckeditor_styles.js.dtml +++ b/skins/generic/plinn_ckeditor_styles.js.dtml @@ -1,26 +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: 'Coins arrondis', - element: 'div', - attributes : {'class' : 'news_box'} - }, - { name: 'cellule arrondie', - element: 'td', - attributes : {'class' : 'news_box'} - }, -]); +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' + }] +);