projects
/
ckeditor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
92a66ef
)
Personnalisation de la liste des styles par fichier externe.
author
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 22 Jul 2014 16:30:46 +0000
(18:30 +0200)
committer
Benoît Pin
<pin@cri.ensmp.fr>
Tue, 22 Jul 2014 16:30:46 +0000
(18:30 +0200)
skins/ckeditor/config.js
patch
|
blob
|
history
diff --git
a/skins/ckeditor/config.js
b/skins/ckeditor/config.js
index
f29caf2
..
dea13f2
100644
(file)
--- a/
skins/ckeditor/config.js
+++ b/
skins/ckeditor/config.js
@@
-11,7
+11,7
@@
CKEDITOR.editorConfig = function( config )
// toolbar
config.toolbar = [
// toolbar
config.toolbar = [
- { name: 'styles', items : [
/*'Styles', */
'Format', 'Font', 'FontSize' ] },
+ { name: 'styles', items : [
'Styles',
'Format', 'Font', 'FontSize' ] },
{ name: 'colors', items : [ 'TextColor', 'BGColor' ] },
{ name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] },
{ name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] },
{ name: 'colors', items : [ 'TextColor', 'BGColor' ] },
{ name: 'document', items : [ 'Maximize', 'ShowBlocks', 'Source'] },
{ name: 'editing', items : [ 'Find','Replace', '-', 'SelectAll'] },
@@
-37,4
+37,6
@@
CKEDITOR.editorConfig = function( config )
config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';
config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size.
config.extraPlugins = 'plinn_image,codemirror';
config.attachmentBrowserConnectorUrl = CKEDITOR.basePath + 'plugins/plinn_image/connectors/plinn/connector';
config.imageMaxDefaultDimension = 500 ; // image inserted will be cropped at this size.
config.extraPlugins = 'plinn_image,codemirror';
+
+ config.stylesSet = 'plinn_styles:' + CKEDITOR.basePath + 'plinn_ckeditor_styles.js';
};
\ No newline at end of file
};
\ No newline at end of file