As a workaround I was able to store the HTML Editor value in a session variable, then I set the initial value of the editor to this session variable. This seemed to work out ok.
On the page that the form is posting to you would add in a piece of code to the top of the page like this:
<?php if(!session_id()) session_start();
$_SESSION['test_val'] = $_POST['test'];
Then in your HTML Editor instance use this as the initial value code:
<?php echo ((isset($_SESSION["test_val"]))?$_SESSION["test_val"]:""); ?>
You will need to update the word 'test' in these code examples with the name of your editor. If you have any problem with this let us know and post back with the pages in question and we can show you how to add this.
Thanks for the reply. Another issue I'm having with this is when I click the back button the value stored in the session gets restored in the editor. But when there's a space at the beginning of the value stored in the session the editor doesn't convert it back to space but puts the mark-up #&160 ; at the beginning. Is there a way to overcome this issue?