Having Problems with HTML inside Editor - Please Help

Last post 03-27-2009, 2:44 PM by Adam. 1 replies.
Sort Posts: Previous Next
  •  03-26-2009, 6:03 PM 50336

    Having Problems with HTML inside Editor - Please Help

    Basically what's happening is that I am trying to use the editor to add stuff through PHP into a MySQL database and edit it afterwards. When I edit it instead of showing Rich Text Like Bold - it shows <strong>Bold</strong> on Normal view.
     
     The REMOVE ALL HTML TAGS button does not work. I have attached a screenshot and the code.
     
    CODE USING TO ADD:

                 <?php
                       $editor=new CuteEditor();
                       $editor->ID="PageText";
                       $editor->Text="";
                       $editor->FilesPath="CuteEditor_Files";
                       $editor->Draw();
                       $editor=null;

                       //use $_POST["NewsText"]to catch the data
                ?>
    CODE USING TO EDIT:
     
                 <?php
                       $editor=new CuteEditor();
                       $editor->ID="PageText";
                       $editor->Text="$PageText";
                       $editor->FilesPath="CuteEditor_Files";
                       $editor->Draw();
                       $editor=null;

                       //use $_POST["NewsText"]to catch the data
                ?>
     
    I cannot edit pages normally. What am I missing? I  need the HTML to be gone when I edit and the CLEAN UP BUTTON that looks like a brush doesn't do it. Here is the front end - http://tucsonchargers.com/calendar.html
     
     
     
     

  •  03-27-2009, 2:44 PM 50387 in reply to 50336

    Re: Having Problems with HTML inside Editor - Please Help

    Can you try the following code/
     
    $editor->Text="<h1>Hello World></h1>";

    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