Opened 16 years ago
Last modified 15 years ago
#3133 review_failed Bug
insertElement incorrect after deleteContents — at Version 2
Reported by: | Garry Yao | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 Beta 2 |
Keywords: | Confirmed | Cc: |
Description (last modified by )
If there's a insertion happened after the selection range content is deleted, the inserted element is at the end instead of in the front.
Take the smiley plugin for reproducing:
- Make the content and selection as below:
<p>te^xt</p> <ul> <li>te^xt</li> </ul>
- Open the smiley plugin to insert a motion;
- Actual Result: JavaScript error occured.
Change History (2)
comment:1 Changed 16 years ago by
comment:2 Changed 16 years ago by
Description: | modified (diff) |
---|---|
Keywords: | Confirmed added |
Updated the bug symptom with current trunk.
I think you have inverted the "expected" and "actual" results, right?