Hello,
I've some problem to include me CSS file with contentCss. My CSS file doesn't include on header of iframe so I haven't a style on my content.
I use custom config file but if I don't use it on just replace with contentCss, It is apply correctly on content of editor.
Javascript call config file:
CustomConfig file:
My CSS file change only the toolbar and not a editor content.
I someone say why?
Thank you.
I've some problem to include me CSS file with contentCss. My CSS file doesn't include on header of iframe so I haven't a style on my content.
I use custom config file but if I don't use it on just replace with contentCss, It is apply correctly on content of editor.
Javascript call config file:
this.cke=CKEDITOR.replace( 'editor'+this.context.id, { customConfig : '/_lib/scripts/ckeditor/upeditor-config.js' });
//this.cke=CKEDITOR.replace( 'editor'+this.context.id, { contentsCss : [CKEDITOR.basePath+'contents.css','/styles/base.css'] });CustomConfig file:
CKEDITOR.editorConfig = function( config )
{
config.contentsCss = [CKEDITOR.basePath+'contents.css','/styles/base.css'];
config.extraPlugins = 'balisespedago';
config.toolbar = 'UPToolbar';
config.toolbar_UPToolbar =
[
['Preview'],
['Cut','Copy','Paste','PasteText','PasteFromWord','-','Scayt'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
['Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak'],
'/',
['BalisesPedago','Styles','Format'],
['Bold','Italic','Strike'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['Link','Unlin k','Anchor'],
['Maximize','-','About']
];
config.filebrowserBrowseUrl = '/projects/pictures';
config.filebrowserUploadUrl = '/projects/pictures';
config.filebrowserImageWindowWidth = '60%';
config.filebrowserImageWindowHeight = '60%';
config.fullPage = true;
config.entities = false;
config.toolbarCanCollapse = false;
config.height = '600px';
};
My CSS file change only the toolbar and not a editor content.
I someone say why?
Thank you.

Re: ContentCss with CustomConfig
Re: ContentCss with CustomConfig
Thank you.