losing markup switching between HTML and NORMAL mode when in frameset

Last post 08-10-2006, 8:14 AM by developers. 3 replies.
Sort Posts: Previous Next
  •  08-03-2006, 8:07 AM 21508

    losing markup switching between HTML and NORMAL mode when in frameset

    Hi All,
     
    I have build in the editor in a frameset. It seems the editor behaves different when you use it in a frameset.
     
    e.g. when i switch between normal mode and html mode and then back again to normal mode when i then start typing immediately the text does not have any markup around the text but underneath it??!!
     
    This is what happens:
     
    sampletext
    <div></div>
     
    Looks like this is a bug, please advise on this issue.
     
     
    Any help appreciated.
     
    //Matthijs
     
  •  08-03-2006, 12:30 PM 21518 in reply to 21508

    Re: losing markup switching between HTML and NORMAL mode when in frameset

    Matthijs,
     
    Can you duplicate the problem in the following link?
     
     
    If not, which version of CuteEditor are you using?
     
    If you are using the latest, is your site online so you can provide a URL?
     
     

    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

  •  08-10-2006, 7:38 AM 21726 in reply to 21518

    Re: losing markup switching between HTML and NORMAL mode when in frameset

    Hi Adam,
     
    Sorry for the late response, was busy with 1001 other things ;)
     
    Thanks to your sample i've tracked down the problem its seems our editor was enclosed by <div></div> elements in which
    (as i just found out ;) an <iframe></iframe> element may not be nested, this caused the strange behaviour of the editor.
     
    Again apologies for the late response and thanks for your excellent help!
     
    //Matthijs
  •  08-10-2006, 8:14 AM 21727 in reply to 21726

    Re: losing markup switching between HTML and NORMAL mode when in frameset

    Hi Adam,
     
    Well i've just reproduced the same error again.
     
    It seems when i have a <table></table> above the table which holds the editor it produces the same result mentioned before.
     
    When u remove the html markup of the first table it works perfect, but with the first html table markup it produces the strange behaviour.
     
    Any help appreciated
     
    //Matthijs
     
    Here's the code:
     

    <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default3.aspx.vb" Inherits="Default3" %>

    <%@ Register TagPrefix="CE" Namespace="CuteEditor" Assembly="CuteEditor" %>

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

    <html xmlns="http://www.w3.org/1999/xhtml">

    <head id="Head1" runat="server">

    <title>Untitled Page</title>

    </head>

    <body>

    <form id="form1" runat="server">

    <table>

     

    <tr>

    <td>Some sample text</td>

     

    </tr>

     

    </table>

     

    <table class="MainTable">

    <tr>

    <td>

    <CE:Editor id="MainEditor" runat="server"></CE:Editor>

    </td>

     

    </tr>

     

    </table>

    </form>

    </body>

    </html>

View as RSS news feed in XML