Maybe the "false" attribute in the initial line?
<?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".($Types->getColumnVal("typeDesc",false)) ."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "SGD-Compact";
$CKEditor_config["wa_preset_file"] = "SGDCompact.xml";
$CKEditor_config["width"] = "100%";
$CKEditor_config["height"] = "200px";
$CKEditor_config["docType"] = "<" ."!" ."DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">";
$CKEditor_config["contentsLanguage"] = "";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["toolbar"] = array(
array( 'Source'),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'),
array( 'Link','Unlink','Anchor'),
array( 'Bold','Italic','Underline','-','NumberedList','BulletedList'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor->editor("editorField", $CKEditor_initialValue, $CKEditor_config);
?>
This one does work properly while the one above causes the problem. note no manual changes in the problem one...
<?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".($Types->getColumnVal("typeDesc")) ."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "TestSGD (custom)";
$CKEditor_config["wa_preset_file"] = "(custom)";
$CKEditor_config["width"] = "100%";
$CKEditor_config["height"] = "200px";
$CKEditor_config["docType"] = "<" ."!" ."DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">";
$CKEditor_config["contentsLanguage"] = "";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["toolbar"] = array(
array( 'Source','-'),
array( 'Cut','Copy','Paste','PasteText','PasteFromWord','-','Print','SpellChecker','Scayt'),
array( 'Bold','Italic','Underline','Strike'),
array( 'NumberedList','BulletedList','-','Outdent','Indent','Blockquote'),
('/'),
array( 'Styles','Format','Font','FontSize'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'),
array( 'TextColor','BGColor'));
$CKEditor_config["scayt_autoStartup"] = true;
$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->editor("decription", $CKEditor_initialValue, $CKEditor_config);
?>