I tried the following code but it didn't appear the change things. My e-card site allows clients to select a background color and and I want to have the default color of the editor content window to be similar and have a contrasting font color. For example if they chose black as the background color I would want the content are black and the default text color to be white. The template color would be passed from a session variable. The code I tried ( which did not work) is: $CKEditor_config["contentsCss"] = "contentsblack.css";
Also where in the code should the new code be placed?
Thanks
whispercom
array( 'Source'),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker','Scayt'),
array( 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'),
array( 'BidiLtr','BidiRtl'),
array( 'Bold','Italic','Underline','Strike','-'),
array( 'NumberedList','BulletedList','-','Outdent','Indent'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array( 'Link','Unlink','Anchor'),
array( 'Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Maximize'),
array( 'Styles','Format','Font','FontSize'),
array( 'TextColor','BGColor'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor_config["stylesCombo_stylesSet"] = "my_styles:style_lists/stylelist1.js";
$CKEditor_config["contentsCss"] = "contentsblack.css";
Also where in the code should the new code be placed?
Thanks
whispercom
array( 'Source'),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','SpellChecker','Scayt'),
array( 'Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'),
array( 'BidiLtr','BidiRtl'),
array( 'Bold','Italic','Underline','Strike','-'),
array( 'NumberedList','BulletedList','-','Outdent','Indent'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array( 'Link','Unlink','Anchor'),
array( 'Table','HorizontalRule','Smiley','SpecialChar','PageBreak','Maximize'),
array( 'Styles','Format','Font','FontSize'),
array( 'TextColor','BGColor'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor_config["stylesCombo_stylesSet"] = "my_styles:style_lists/stylelist1.js";
$CKEditor_config["contentsCss"] = "contentsblack.css";