Using HTML Editor with Repeat Region
I'm using HTML Editor to update text I pull the data from a database and I have the Update form in a repeat region as there could be several tables that can be updated. The problem is that the first HTML Editor field looks fine but the second etc gets shown as a plan text field. Is there a way to make this work in all the repeat regions? Here is my code.
<?php
// The initial value to be displayed in the editor.
$CKEditor_initialValue = "".$row_rsProductSKUs['skuAdditionalInfo'] ."";
$CKEditor = new CKEditor();
$CKEditor->basePath = "../webassist/ckeditor/";
$CKEditor_config = array();
$CKEditor_config["wa_preset_name"] = "<New from blank>";
$CKEditor_config["wa_preset_file"] = "compact.xml";
$CKEditor_config["width"] = "98%";
$CKEditor_config["height"] = "100px";
$CKEditor_config["skin"] = "kama";
$CKEditor_config["dialog_startupFocusTab"] = false;
$CKEditor_config["fullPage"] = false;
$CKEditor_config["tabSpaces"] = 4;
$CKEditor_config["toolbar"] = array(
array( 'Source','Paste','PasteFromWord','Bold','Italic','-','OrderedList','UnorderedList'),
array( 'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'));
$CKEditor_config["contentsLangDirection"] = "ltr";
$CKEditor_config["entities"] = false;
$CKEditor_config["pasteFromWordRemoveFontStyles"] = false;
$CKEditor_config["pasteFromWordRemoveStyles"] = false;
$CKEditor->editor("SKUAdditionalInformationUpdate", $CKEditor_initialValue, $CKEditor_config);
?>