WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
7165
REGRESSION: TinyMCE: Dragging & dropping content always leaves a copy when editing inside a subframe
https://bugs.webkit.org/show_bug.cgi?id=7165
Summary
REGRESSION: TinyMCE: Dragging & dropping content always leaves a copy when ed...
Chris Petersen
Reported
2006-02-09 16:49:18 PST
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.
Attachments
Screen shot of text appearing in the original location after the drag
(70.60 KB, image/png)
2006-02-09 16:55 PST
,
Chris Petersen
no flags
Details
patch
(16.57 KB, patch)
2006-09-20 17:56 PDT
,
Justin Garcia
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Petersen
Comment 1
2006-02-09 16:55:31 PST
Created
attachment 6374
[details]
Screen shot of text appearing in the original location after the drag
Chris Petersen
Comment 2
2006-02-09 17:06:37 PST
This bug is also in Radar as <
rdar://4440344
>
Justin Garcia
Comment 3
2006-05-10 19:40:52 PDT
This happens with any content, not just text, and it happens with a plain old editable document inside an iframe. Renaming.
Ted Rust
Comment 4
2006-07-20 15:55:12 PDT
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.
Justin Garcia
Comment 5
2006-09-20 17:50:45 PDT
I have a patch for this.
Justin Garcia
Comment 6
2006-09-20 17:56:13 PDT
Created
attachment 10675
[details]
patch
Justin Garcia
Comment 7
2006-09-21 12:33:20 PDT
r16500
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug