Editor Not Replacing <font> tags with <span>

  •  01-13-2007, 2:28 PM

    Editor Not Replacing <font> tags with <span>

    I recently purchased CuteEditor for ASP.  I was under the impression that if I enabled editor.XHTMLOutput = "true" that the <font> tags would be replaced with <span style="..."> tags.  This is not happening when I load html from my database.  Here's my basic code:
     
    <%      
            
          Dim editor
          Set editor = New CuteEditor
          editor.ID = "Editor1"
          editor.Text = GetCode.Fields.Item("Col_Content").Value
          editor.FilesPath = "CuteEditor_Files"
          editor.ImageGalleryPath = "/../../../../filesystem/Images"
          editor.Height = 650
          editor.Width = 775
          editor.XHTMLOutput = "true"
          editor.Draw()
          
    %>
     
    Where GetCode.Fields.Item("Col_Content").Value is the retrieved code from my database.  This is my save function:
     
    function submit_message(frm,action)
    {
    var editor1 = obj_Editor1
    frm.Message_Body.value = obj_Editor1.getHTML();
    frm.submit();
    }
    Which is called from a "post" link with <a href="#" onClick="submit_message(document.forms.frmSubmit,3);">Post</a>
     
    So, I load the page with the HTML, go to HTML view to parse it, but it doesn't replace the <font> tags.  I figured it would then do this on save, but once I saved it and re-opened the page, still no <span>'s.
     
    And yes, I have tested this with the online http://cutesoft.net/asp/xmloutput.asp with the same result when copying and pasting the HTML in to the HTML view.
View Complete Thread