WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
7059
TinyMCE: Select All + delete sends you Back intsead of deleting
https://bugs.webkit.org/show_bug.cgi?id=7059
Summary
TinyMCE: Select All + delete sends you Back intsead of deleting
Justin Garcia
Reported
2006-02-03 16:34:40 PST
Goto:
http://tinymce.moxiecode.com/example.php?example=true
Click inside the first text area, select all, delete. Safari sends you back to the previous page instead of deleting the contents of the text area.
Attachments
patch
(10.49 KB, patch)
2006-03-01 18:41 PST
,
Justin Garcia
no flags
Details
Formatted Diff
Diff
patch
(10.50 KB, patch)
2006-03-01 19:03 PST
,
Justin Garcia
darin
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Justin Garcia
Comment 1
2006-02-13 23:22:35 PST
We select iframes and other special elements when their contents are fully selected, to make them easier to delete when they occur in an editable region. I think that's what's happening here. Since the special element itself isn't editable, the delete key is responded to with a Back instead of a delete operation.
Justin Garcia
Comment 2
2006-03-01 18:41:36 PST
Created
attachment 6799
[details]
patch In selectFrameElementInParentIfFullySelected, we should only select the frame in its parent if the frame is in an editable region. Also, WebCore wasn't treating mouse events that the eventSender was sending as distinct events, since they all had the same eventNumber (0). This was sending us into different code paths than we get into when a user does mouse clicks. So, I added an eventNumber to the eventSender and increment it every time DRT creates an event.
Justin Garcia
Comment 3
2006-03-01 19:03:16 PST
Created
attachment 6801
[details]
patch small tweak
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