Summary: After I drag n drop selected text to a different area in the text field, I notice that a copy of the text is still displayed at the original location. Steps to reproduce: 1) Launch TOT Webkit and go to http://tinymce.moxiecode.com/example.php?example=true 2) Delete all the elements in the top most textarea field 3) Copy teh follwoing text and past into textarea field Mary had a little lamb Its fleece was white as snow 4) Select "had a little lamb" and drag this selection so that it hovers at the end of sentence 2. 5) Mouse up so the text is moved. 6) The text is moved to the end of sentence 2 but the text is still present at the original location. So we have TWO copies of this text. See screen shot. I expected the text I moved should ONLY be present at the new location and only this text should be selected.
Created attachment 6374 [details] Screen shot of text appearing in the original location after the drag
This bug is also in Radar as <rdar://4440344>
This happens with any content, not just text, and it happens with a plain old editable document inside an iframe. Renaming.
It's actually even worse than that. Just tested this scenario with r15467 and dragging an image results in *3* copies -- the original plus 2 additional "dropped" copies. Maybe that little tidbit of information can help point someone in the right direction? I wish I knew where to begin looking.
I have a patch for this.
Created attachment 10675 [details] patch
r16500