PasteHTML happens at incorrect Cursor position

Last post 09-20-2011, 6:46 PM by Adam. 9 replies.
Sort Posts: Previous Next
  •  01-12-2011, 2:05 PM 65695

    PasteHTML happens at incorrect Cursor position

    I saw some posts about modal dialogs, but did nto see anything that seemed related specifically to the following issue.  We are upgrading from an older version to 6.6 and some of out existing code is not working properly with CE.  In our application we have custom buttons some which pasteHTML, open wizards, and context menus.  The problem happening in version 6.6 is as follows...
     
    The PastHTML occurs at incorret position on subsequent PastHTML resulting from dialog.
     
    To recreate using your customization.aspx with list and table buttons:
    Add a bullet list item with 2 entries and enter twice to get out of the list (A <p> is added after the list).  Click a buttion with a dialog that does a PasteHTML(I used your table one).  The data is not pasted inside the <p> tag, but is imbedded inside the <li>.  My expectation is that the data should be pasted inside the <p>, since that is where the cursor was positioned after the enter.
     
    This can be recreated using your customization.aspx with list and table buttons.  Please let me know if you agree this is an issue, and if there is workaround.  Thanks.
     
    After adding list:
    <ul>
        <li>line1</li>
        <li>line2</li>
    </ul>
    <p>&nbsp;</p>
     
    After dialog completed:
    <ul>
        <li>line1</li>
        <li>line2
        <table border="0" cellspacing="2" cellpadding="2" width="500">
            <tbody>
                <tr>
                    <td> </td>
                    <td> </td>
                </tr>
                <tr>
                    <td> </td>
                    <td> </td>
                </tr>
            </tbody>
        </table>
        </li>
    </ul>
    <p>&nbsp;</p>
  •  01-13-2011, 12:18 AM 65699 in reply to 65695

    Re: PasteHTML happens at incorrect Cursor position

    Hi aml01,
     
    It works fine for me.
     
    I tested on demo http://www.cutesoft.net/example/customization.aspx whit IE, google chrome and firefox.
     
    Below are the steps
     
    1. Open http://www.cutesoft.net/example/customization.aspx
     
    2. Input "1" press enter,  input "2"
     
    3. Select all and click the list button 
     
    4. Put the mouse to the end of item 2 and press enter twice.
     
    5. Click the Insert table button to insert a table/ Insert date
     
    Can you try on another pc/browser?
     
    Regards,
     
    Ken
  •  01-13-2011, 10:13 AM 65709 in reply to 65699

    Re: PasteHTML happens at incorrect Cursor position

    My steps were different.  I am using ie8.  These were the steps:
     
    1.  Hit list button
    2.  Typed 1
    3.  Typed 2
    4.  Hit enter
    5.  Hit enter
    6.  Hit the insert table button (insert date works ok)
     
  •  01-13-2011, 8:17 PM 65715 in reply to 65709

    Re: PasteHTML happens at incorrect Cursor position

    Hi aml01,
     
    We are investigating this issue and will get back to you as soon as possible.
     
    Regards,
     
    Ken
  •  02-11-2011, 9:30 AM 66174 in reply to 65715

    Re: PasteHTML happens at incorrect Cursor position

    Just wondering if you have any updates on this?
  •  04-18-2011, 10:01 AM 67220 in reply to 65715

    Re: PasteHTML happens at incorrect Cursor position

    Please provide an update on the date this issue will be corrected.  We need to move to the most current release to be compliant, but cannot untill this is addressed.  Thank you.
  •  04-18-2011, 8:17 PM 67225 in reply to 67220

    Re: PasteHTML happens at incorrect Cursor position

    Hi aml01,
     
    We are still working on this issue. Sorry for your inconvenience.
     
    Regards,
     
    Ken
  •  06-27-2011, 12:48 PM 68176 in reply to 67225

    Re: PasteHTML happens at incorrect Cursor position

    I am having a similar issue.  Is there a fix?
  •  07-05-2011, 10:27 PM 68358 in reply to 68176

    Re: PasteHTML happens at incorrect Cursor position

    Hi,

    We have fixed this issue and will provide an update in 24 hours.

    Regards,

    Terry

  •  09-20-2011, 6:46 PM 70124 in reply to 65695

    Re: PasteHTML happens at incorrect Cursor position

View as RSS news feed in XML