Hi all,
i try to change some rules of the skin (font-family, color and background-color- but it does'nt work.
I read another post from the forum to set the changes :
first, i create a new stylesheet :
After, i set the config :
Here's the config file :
Someone can explain me what's wrong ?
Thanks.
i try to change some rules of the skin (font-family, color and background-color- but it does'nt work.
I read another post from the forum to set the changes :
first, i create a new stylesheet :
body {
background-color: #111111;
color: #FFFFFF;
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
font-size: 100%;
}After, i set the config :
<textarea id="page_content" name="page_content" cols="70" rows="4"><?php echo $content['content']; ?></textarea>
<script type="text/javascript">
CKEDITOR.replace( 'page_content', {
contentCss: '<?php echo base_url(); ?>panel/css/ckeditor-content.css'
} );
</script>Here's the config file :
CKEDITOR.editorConfig = function( config )
{
config.language = 'fr';
config.toolbar = 'Full';
config.height = '350px';
config.resize_enabled = false;
config.skin = 'kama';
config.toolbar_Full =
[
['Cut','Copy','Paste','PasteText','PasteFromWord'],
['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'],
'/',
['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
['Link','Unlink','Anchor'],
['Image','Flash','Table','HorizontalRule','SpecialChar','PageBreak'],
'/',
['Format','FontSize'],
['TextColor','BGColor'],
['Maximize', 'ShowBlocks','-','About']
];
config.toolbar_Basic =
[
['Bold', 'Italic', '-', 'NumberedList', 'BulletedList', '-', 'Link', 'Unlink']
];
};Someone can explain me what's wrong ?
Thanks.

Re: Trying to change contentCss, does'nt work
Re: Trying to change contentCss, does'nt work
I thought the problem was the html entity called (in my css, body).
I also verify if it was not a cache problem. Refresh does nothing.
Then, i check in firefox if my css is loaded. I set a basic css error in my stylesheet. The css don't seems to be loaded.
I really don't understand...
Re: Trying to change contentCss, does'nt work
Re: Trying to change contentCss, does'nt work
<script type="text/javascript"> CKEDITOR.replace( 'page_content', { filebrowserBrowseUrl : 'http://localhost/rs1.be/index.php/ckbrowser/browse/35/', filebrowserUploadUrl : 'http://localhost/rs1.be/index.php/ckupload/upload/35/', filebrowserWindowWidth : '640', filebrowserWindowHeight : '480', contentCss : 'http://localhost/rs1.be/panel/css/ckeditor-content.css' } ); </script>Re: Trying to change contentCss, does'nt work
Re: Trying to change contentCss, does'nt work
s
Re: Trying to change contentCss, does'nt work
It was definitely caching problem that I temporarily fixed by adding '?nocache=${random}' to go on.
My Browser is FF 3.6.10.