HTML shows up in Normal mode

Last post 08-27-2009, 11:19 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  08-26-2009, 8:50 AM 55067

    HTML shows up in Normal mode

    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.
  •  08-27-2009, 11:19 AM 55117 in reply to 55067

    Re: HTML shows up in Normal mode

    MinistryWebs,
     
    What kind of code have you passed to Cute Editor?
     
    Can you print the code using echo?
     
    Can you try the following code?
     
    $editor->Text="<b>Hello World</b>";

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML