From 55eea9a336dd3e6ad94e38822dbc49145e15424d Mon Sep 17 00:00:00 2001
From: =?utf8?q?Benoi=CC=82t=20Pin?= <pin@cri.ensmp.fr>
Date: Tue, 22 Jul 2014 18:31:30 +0200
Subject: [PATCH 1/1] =?utf8?q?Ajout=20styles=20pour=20l'=C3=A9diteur=20cke?=
 =?utf8?q?ditor.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

---
 skins/generic/plinn_ckeditor_styles.js.dtml | 26 +++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 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
new file mode 100644
index 0000000..2d4711e
--- /dev/null
+++ b/skins/generic/plinn_ckeditor_styles.js.dtml
@@ -0,0 +1,26 @@
+// {
+//     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'}
+    },
+]);
-- 
2.20.1