Results 1 to 2 of 2

Thread: HTMLEditor generates incorrect HTML code

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Vote Rating

    Default HTMLEditor generates incorrect HTML code


    In my project i am using HTMLEditor to have rich text formatting on client side. However i just came to know that when i do editor.getValue() to save HTML text into my database, the HTML text generated by Editor is not the correct one. Below is the sample for that:

    This is for the bullet list test:<br><ol><li>test1</li><li>test2</li><li>test 3</li></ol><p><br></p>

    Every time this is happening due to incorrect <br> tag. Ending tag for <br> is not getting generated by HTMLEditor. Please help!!!!

    As you can see first <br> does not have closing element. Can someone please help me with this? How to fix it?


  2. #2
    Sencha Premium Member
    Join Date
    Sep 2007
    Vote Rating


    I will move this thread to the bugs forum, thanks for reporting. We are using the GWT impl here and are not editing the html.

    If you require a fully grown html editor, you might want to wrap TinyMCE for example.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts