element inserts at the wrong location when cuteeditor looses cursor before inserting

  •  09-04-2008, 8:30 AM

    element inserts at the wrong location when cuteeditor looses cursor before inserting

    There is a regression bug in v6.1.2.
    In some special cases, the cuteeditor 6.0 is misjudging the place to insert an element. This was working in v5.3. It inserts the element in next available element if cuteeditor editing area did not have an active cursor.
     
    Steps to Reproduce
     

    <ul>
        <li>line one</li>
        <li>line two</li>
        <li>line three </li>
    </ul>
    <p>para 1</p>

    • switch to Normal mode.
    • click on the far right of "line three". The cursor appears at the very right side of line three.
    • click outside the cuteeditor; this will make the cuteeditor loose focus and cursor does not appear anymore.
    • Nowclick on button icon to insert a button.
    • Button is inserted as first item before "para 1" and not at the end of line three!!
    • you may try this with other lines as well.

    Actual Results
     
    <ul>
        <li>line one</li>
        <li>line two</li>
        <li>line three </li>
    </ul>
    <p><input id="button1" type="button" value="button1" name="button1" />para 1</p>
     
     
    Exected Results
     
    <ul>
        <li>line one</li>
        <li>line two</li>
        <li>line three <input id="button1" type="button" value="button1" name="button1" /></li>
    </ul>
    <p>para 1</p>
     
     
     

     

     
View Complete Thread