CuteEditor 6.x Crashes in IE7 & IE8

Last post 08-17-2010, 8:58 PM by donabellez. 8 replies.
Sort Posts: Previous Next
  •  01-27-2010, 3:37 PM 58401

    CuteEditor 6.x Crashes in IE7 & IE8

    One of my clients discovered an error when they were doing some content editing on their site. When changing some of the content, font's, font size, color the editor would hang and an unresponsive script message would appear or just hang.

     

    To reproduce this problem…

     

    STEP 1: Paste this HTML (I would post this as a code block but I get an error in the code insert tool. See bottom of post for this error)

     
    <font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><strong><font color="#ffffff" size="5" face="TrajanPro-Bold"><font color="#ffffff" size="5" face="TrajanPro-Bold"><font color="#ffffff" size="5" face="TrajanPro-Bold">
    <p align="left">PHYSICIAN EDUCATION WORKSHOP</p>
    </strong></font></font></font><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT">
    <p align="left">PARK HYATT HOTEL, TORONTO, ON / SATURDAY, APRIL 10</font></font></font><font lang="JA" color="#ffffff" size="1" face="ArialMT"><font lang="JA" color="#ffffff" size="1" face="ArialMT"><font lang="JA" color="#ffffff" size="1" face="ArialMT">TH</font></font></font><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT">, 2010 &#8211; 8am-6pm</p>
    </font></font></font><strong><font color="#ffffff" size="2" face="Arial-BoldMT"><font color="#ffffff" size="2" face="Arial-BoldMT"><font color="#ffffff" size="2" face="Arial-BoldMT">
    <p>BIO-IDENTICAL HORMONE REPLACEMENT THERAPY FOR MEN &amp; WOMEN</p>
    </strong></font></font></font>
    <div align="left"><br />
    &nbsp;</font></font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">Mark L. Gordon, M.D., FAAFP </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">Founder &amp; Medical Director of Millennium Health Centers, Inc., Encino, CA</div>
    </em></font></font><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT">
    <p align="left">&#9642; </font></font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">Sangeeta Pati, M.D., FACOG </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">Founder &amp; Medical Director of the SaJune Medical Center, Orlando, FL</p>
    </em></font></font><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT"><font lang="JA" color="#6600c0" size="4" face="ArialMT">
    <p align="left">&#9642; </font></font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">Marla Ahlgrimm R.Ph. </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">Founder &amp; CEO - Women&#8217;s Health America, Inc. The RESTORE Program, Madison, WI</p>
    </em></font></font><strong><font color="#6600c0" size="1" face="Arial-BoldMT"><font color="#6600c0" size="1" face="Arial-BoldMT"><font color="#6600c0" size="1" face="Arial-BoldMT">
    <p align="left">WORKSHOP FEE</p>
    </strong></font></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">
    <p align="left">$899.00 CDN + taxes</p>
    </font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">
    <p align="left">Early Bird Discount </strong></font></font><font lang="JA" size="1" face="ArialMT"><font lang="JA" size="1" face="ArialMT">&#8211; </font></font><strong><font size="1" face="Arial-BoldMT"><font size="1" face="Arial-BoldMT">SAVE $125</p>
    </font></font><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT">
    <p align="left">REGISTER BEFORE MARCH 1</font></font></font><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT">st</p>
    </font></font></font><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT"><font color="#f60026" size="1" face="Arial-BoldMT">
    <p align="left">Limited Seating!!</p>
    </strong></font></font></font><em><font size="1" face="Arial-ItalicMT"><font size="1" face="Arial-ItalicMT">
    <p>**Group of 3 or more attendees, receive a group discount.</p>
    </em></font></font>

     

     

    STEP 2: In “normal” mode highlight the text at the top that is a light color (PHYSICIAN EDUCATION WORKSHOP PARK HYATT HOTEL, TORONTO, ON / SATURDAY, APRIL 10TH, 2010 – 8am-6pm BIO-IDENTICAL HORMONE REPLACEMENT THERAPY FOR MEN & WOMEN).

     

    STEP 3:  Go to the text color button click and select “automatic” this will cause the editor to crash. I’ve tested this locally and in the online demo. Both crash when doing the above. (Script is causing internet explorer to run slowing, stop running script)
     
     
    Thanks,
    Lee
     
     
     
     
    This is the error for the code insert tool:
     
    Webpage error details
    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; OfficeLiveConnector.1.3; OfficeLivePatch.0.0; InfoPath.2; MS-RTC LM 8)
    Timestamp: Wed, 27 Jan 2010 21:35:40 UTC

    Message: 'undefined' is null or not an object
    Line: 37
    Char: 1284
    Code: 0
    URI: http://cutesoft.net/CuteSoft_Client/CuteEditor/Dialogs/Load.ashx?Type=Dialog&file=SyntaxHighlighter.htm&setting=!3wEWAgUFZW4tdXMFCmN1dGVzb2Z0JDEW5FuEdPW60IDOFwIaDmmnaf4A2w!2!2&Theme=Office2003&
     
     
     
     
     
     
     
     

    Lee Harris
    Programmer & Database Developer

    HLB System Solutions
    50 Malcolm Road
    Guelph, Ontario N1K 1A9
    Phone: 519-822-3450 Ext. 239
    Fax: 519-822-8861
    http://www.hlbsolutions.com

    Disclaimer: The contents of this post are provided "as is". There is not warranty on code found in this post.
  •  01-28-2010, 3:12 PM 58426 in reply to 58401

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Lee,
     
    I tried your code in this example: http://cutesoft.net/example/general.aspx
     
    It works ok for me.

    Can you try it and get back to me?

    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-29-2010, 7:41 AM 58435 in reply to 58426

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Hello Adam,
     
    Here is a flash video of how to reproduce the error...
     
     
     
    (could not add as a movie it's over 1MB)
     
    Let me know what you find out.
     
     
    Thanks,
    Lee

    Lee Harris
    Programmer & Database Developer

    HLB System Solutions
    50 Malcolm Road
    Guelph, Ontario N1K 1A9
    Phone: 519-822-3450 Ext. 239
    Fax: 519-822-8861
    http://www.hlbsolutions.com

    Disclaimer: The contents of this post are provided "as is". There is not warranty on code found in this post.
  •  02-01-2010, 12:12 PM 58479 in reply to 58435

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Dear lharris,
     
    I extracted the following html code from your thread:
     
    <font lang="JA" color="#6600c0" size="4" face="ArialMT">
        <font lang="JA" color="#6600c0" size="4" face="ArialMT">
        <font lang="JA" color="#6600c0" size="4" face="ArialMT">
            <strong>
                <font color="#ffffff" size="5" face="TrajanPro-Bold">
                <font color="#ffffff" size="5"  face="TrajanPro-Bold">
                <font color="#ffffff" size="5" face="TrajanPro-Bold">
                 <p align="left">PHYSICIAN EDUCATION WORKSHOP</p>
             </strong>
         </font></font></font>
        <font lang="JA" color="#ffffff" size="2" face="ArialMT">
        <font lang="JA" color="#ffffff"
      size="2" face="ArialMT">
        <font lang="JA" color="#ffffff" size="2" face="ArialMT">

                <p align="left">
                PARK HYATT HOTEL, TORONTO, ON / SATURDAY, APRIL 10
       </font>
       </font>
       </font>
       <font lang="JA" 
    color="#ffffff" size="1" face="ArialMT"><font lang="JA" color="#ffffff" size="1"  face="ArialMT">
       <font lang="JA" color="#ffffff" size="1" face="ArialMT">TH
      </font>
       </font>
       </font>
       <font

                            lang="JA" color="#ffffff" size="2" face="ArialMT"><font lang="JA" color="#ffffff"
                                size="2" face="ArialMT"><font lang="JA" color="#ffffff" size="2" face="ArialMT">, 2010
                                    &#8211; 8am-6pm</p> </font></font></font><strong><font color="#ffffff" size="2" face="Arial-BoldMT">
                                        <font color="#ffffff" size="2" face="Arial-BoldMT"><font color="#ffffff" size="2"
                                            face="Arial-BoldMT">
                                            <p>
                                                BIO-IDENTICAL HORMONE REPLACEMENT THERAPY FOR MEN &amp; WOMEN</p>
        </strong></font></font></font>
        <div align="left">
            <br />
            &nbsp;
    </font>
    </font>
    </font>
    </div>
     
    you can validate your html code at   http://validator.w3.org/check, there are a lot of html error, these error promote this issue.
    When you paste html code from other application, you need make sure that those html code is correct.
     
     
    Regards,
    Eric
  •  02-01-2010, 1:38 PM 58482 in reply to 58479

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Hello Eric,
     
    I agree this HTML is not that clean; however, it was taken from a PDF and copied and pasted to the editor.  In my local version of the editor I have the "PasteAsCleanHTML" set as on.  This doesn't seem to have an effect on the data being copied.  This is an end user that found this issue so asking them to "clean" the HTML bu hand will not work.  Is there any way to fix this issue or is there a workaround we can use?
     
    Thanks,
    Lee
     
     

    Lee Harris
    Programmer & Database Developer

    HLB System Solutions
    50 Malcolm Road
    Guelph, Ontario N1K 1A9
    Phone: 519-822-3450 Ext. 239
    Fax: 519-822-8861
    http://www.hlbsolutions.com

    Disclaimer: The contents of this post are provided "as is". There is not warranty on code found in this post.
  •  04-06-2010, 10:05 PM 59908 in reply to 58482

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Hi lharris,
     
    Try set UseFontTags to true, like below.
     
     <CE:Editor ID="editor2" runat="server" UseFontTags="true">
            </CE:Editor>
     
    Regards,
     
    ken
  •  08-17-2010, 1:35 PM 63459 in reply to 59908

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Kenneth, would you mind explaining what UseFontTags will do? Some of my clients are having these same problems.
  •  08-17-2010, 4:27 PM 63460 in reply to 58401

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    Font tags are now deprecated, meaning that they aren't used any more and will cause validation errors. Many legacy pages still contain style information in font tags. It is possible to resolve this by replacing with style tags instead.
    CSS styles can be overriden by browser settings whereas font tags can't, therefore styles are much better for accessibility. In addition, because the browser can't override font tags, it's not possible for users to make changes if they have a high resolution screen and the font size is too small to be legible, or if the text cannot be displayed at all because the user doesn't have the right font.
    By default Cute Editor converts font tags to span tags. <font face=times color=#ffffff size=4>your text</font> would be replaced with <span style="FONT-SIZE: 110%; COLOR: #ffffff; FONT-FAMILY: times, serif"><font size=4>your text</font></span>.
    If you still want to use font tags, you can set Editor.UseFontTags property to true.
    Online example can be found in http://richtextbox.com/test/UseFontTags.aspx 
     
    Regards,
    Eric
  •  08-17-2010, 8:58 PM 63465 in reply to 63460

    Re: CuteEditor 6.x Crashes in IE7 & IE8

    its something interesting

    Search Engine Optimization
View as RSS news feed in XML