Opened 14 years ago

Closed 14 years ago

#6986 closed Bug (fixed)

insertElement with partial list selection

Reported by: Garry Yao Owned by:
Priority: Normal Milestone:
Component: General Version:
Keywords: Cc:

Description

  1. Load sample page with the following content and selection:
    <ul>
    	<li>it[em1</li>
    	<li>item]1</li>
    </ul>
    
  2. Open table dialog to insert a default table;
  • Actual Result: JavaScript error thrown;
  • Expected Result:
    <ul>
    	<li>it<table>...</table>1</li>
    </ul>
    

Change History (2)

comment:1 Changed 14 years ago by Krzysztof Studnik

Shouldn't the dialog box behave in the same way as insertHtml in API sample?
When HTML is inserted, rest of the second <li> is converted into <li>1</li>

comment:2 Changed 14 years ago by Garry Yao

Resolution: fixed
Status: newclosed

Expired on trunk.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy