X-Git-Url: https://svn.cri.mines-paristech.fr/git/Plinn.git/blobdiff_plain/e957cc2a18fd2363fe6451c2cff2edd452379f66..cd19d4b7c2523b587f00e41b9401aec71166691d:/skins/generic/plinn_ckeditor_styles.js.dtml

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'
+	}]
+);