Javascript output stored in Normal view, corrupting content

Last post 01-25-2006, 9:58 PM by jmercker. 2 replies.
Sort Posts: Previous Next
  •  01-23-2006, 2:31 PM 15026

    Javascript output stored in Normal view, corrupting content

    I hit an issue with the 5.0 editor where content that contains script tags with Javascript that outputs html (through document.write) gets corrupted as the output of the Javascript is added when switching between the HTML tab and the Normal tab. If I switch back and forth between HTML and Normal views, the javascript output gets repeated within the actual HTML.

    Ideally, the output from the Javascript code should NOT be stored in CuteEdit's view of the world as it's intended to be executed in the browser by the user, not the CuteEdit control.

    I've tried your online demo with the content, and the behavior is repeatable on your site. Unfortunately, I can't upload the HTML as it gets corrupted by the same bug as well. I can send an email with the sample HTML for you to use in testing if you'd like.

    Regards,
    Jeramie

    Regards,
    Jeramie
  •  01-24-2006, 11:59 AM 15049 in reply to 15026

    Re: Javascript output stored in Normal view, corrupting content

    Jeramie,
     
    This issue with document.write has been resolved in the coming version 5.2 which will be released in this week.
     

    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

  •  01-25-2006, 9:58 PM 15142 in reply to 15049

    Re: Javascript output stored in Normal view, corrupting content

    Cool!
     
    Jeramie

    Regards,
    Jeramie
View as RSS news feed in XML