projects
/
Plinn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
31d7923
)
Nouveaux styles.
author
Benoît Pin
<benoit.pin@gmail.com>
Tue, 29 Jul 2014 15:56:38 +0000
(17:56 +0200)
committer
Benoît Pin
<benoit.pin@gmail.com>
Tue, 29 Jul 2014 15:56:38 +0000
(17:56 +0200)
skins/generic/plinn_ckeditor_styles.js.dtml
patch
|
blob
|
history
diff --git
a/skins/generic/plinn_ckeditor_styles.js.dtml
b/skins/generic/plinn_ckeditor_styles.js.dtml
index
1fca357
..
2d4fcaf
100644
(file)
--- a/
skins/generic/plinn_ckeditor_styles.js.dtml
+++ b/
skins/generic/plinn_ckeditor_styles.js.dtml
@@
-1,31
+1,11
@@
-// {
-// 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', [
CKEDITOR.stylesSet.add( 'plinn_styles', [
- { name: 'Bloc arrondi',
- element: 'div',
- attributes : {'class' : 'rounded-corners'}
+ { name : 'Arrondis',
+ className : 'rounded-corners'
},
},
- { name: 'Cellule arrondie',
- element: 'td',
- attributes : {'class' : 'rounded-corners'}
+ { name : 'Bordure standard',
+ className : 'std-border'
},
},
- { name: 'Image arrondie',
- element: 'img',
- attributes : {'class' : 'rounded-corners'}
- },
-
+ { name : 'Fond coloré',
+ className : 'std-background'
+ },
]);
]);