Live Support, Chat, Upload Control and Rich Text Editor
Welcome to Support forums Sign in | Join | Help |Client Center
in Search

Extraneous HTML in Chrome and IE9

Last post 09-13-2012, 10:48 AM by dunroamins. 2 replies.
Sort Posts: Previous Next
  •  09-11-2012, 4:09 PM 74623

    Extraneous HTML in Chrome and IE9

    Hi,

     

    When going back and forth between Normal and HTML, cute editor is putting extraneous characters in the HTML view.  I am using the current 6.6 version.  I am entering "test" in both scenarios below.

     

    For IE9: 

     <div>test</div>

     

    For Chrome:

    test
    <div id="LCS_336D0C35_8A85_403a_B9D2_65C292C39087_communicationDiv"></div>

     

    And this is what gets passed to the Javascript API.  My 2 problems with this is I can not tell if the textarea is empty and I am saving that extraneous tags into my database.  Please let me know if this can be corrected with the current version.

     

    Thanks,

    Corey 

    Filed under: , , ,
  •  09-13-2012, 8:32 AM 74641 in reply to 74623

    Re: Extraneous HTML in Chrome and IE9

    Hi dunroamins,

     

    Abut the IE9 problem. It is the browser limitation, the ie do not allow to input the plain text in first input. So we add the <div> to wrap it. 

     

    About the chrome problem, I think the code is about one of your chrome plug-in. Can you disable all plug-ins of your chrome and try again? If it work, then enable it one by one, you should find out which one causes the issue.

     

    Also, you can add the html filter code below to the bottom of your page, it will remove the addition code for you.

     

    <script>
    function CuteEditor_FilterHTML(editor,code)
    {
        return code.split('<div id="LCS_336D0C35_8A85_403a_B9D2_65C292C39087_communicationDiv"></div>').join('');
    }
    function CuteEditor_FilterCode(editor,code)
    {
        return code.split('<div id="LCS_336D0C35_8A85_403a_B9D2_65C292C39087_communicationDiv"></div>').join('');   
    }
    </script>
     

     

    Regards,

     

    Ken 

  •  09-13-2012, 10:48 AM 74643 in reply to 74641

    Re: Extraneous HTML in Chrome and IE9

    You are correct.  I had a BHO extension on my Chrome called Web Assistant.  I have since removed it and it is working as expected.

     

    Thank you 

View as RSS news feed in XML
Powered by ASP.Net
Copyright 2003 - 2017 CuteSoft Components Inc.. All rights reserved.