Ticket #6986 (closed Bug: fixed)
insertElement with partial list selection
| Reported by: | garry.yao | Owned by: | |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | General | Version: | |
| Keywords: | Cc: |
Description
- Load sample page with the following content and selection:
<ul> <li>it[em1</li> <li>item]1</li> </ul>
- 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
Note: See
TracTickets for help on using
tickets.

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>