I know I'm probably just missing something easy somewhere, but I've looked through the documentation and the forums and can't figure out what I'm doing wrong.
When I load a blank editor to create a new piece of content and add it to the database, the editor handles everything perfectly.
However, when I try to load the content to edit it in Normal mode, the HTML shows up. When I view the HTML, it has converted all of the tags to HTML encoded text. Here is what I'm using to load the editor:
<? php
$editor=new CuteEditor();
$editor->ID="Editor1";
$editor->LoadHTML($databasetext);
$editor->EditorBodyStyle="font:normal 12px arial;";
$editor->EditorWysiwygModeCss="cuteEditor.css";
$editor->AutoConfigure = "Simple";
$editor->ThemeType = "Office2007";
$editor->BreakElement="P";
$editor->Height = 350;
$editor->Width = 600;
$editor->Draw();
$editor=null;
//use $_POST["Editor1"]to retrieve the data
?>
Will someone please tell me what I'm doing wrong?
Thanks.