Bug 7974

Summary: Add EditActions and WebUndoActions for CreateLink and Unlink
Product: WebKit Reporter: Justin Garcia <justin.garcia>
Component: HTML EditingAssignee: Justin Garcia <justin.garcia>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
patch darin: review+

Description Justin Garcia 2006-03-25 01:48:45 PST
So that something appropriate will appear next to Undo in the edit menu for these.
Comment 1 Justin Garcia 2006-03-26 19:26:49 PST
Created attachment 7319 [details]
patch

We might want to use "Undo Remove Link" instead of "Undo Unlink" because "Remove Link" might be easier to localize.  On the other hand we use "Undo Unscript" for the operation that removes subscript/superscripting from the selection.  Also, "Remove Link" isn't really correct because the operation will remove _all_ links inside the selection.
Comment 2 Justin Garcia 2006-03-26 19:35:15 PST
> Also, "Remove Link" isn't really correct because the operation will
> remove _all_ links inside the selection.

So then the decision is between "Unlink" and "Remove Link(s)".
Comment 3 Darin Adler 2006-03-26 22:51:19 PST
Comment on attachment 7319 [details]
patch

r=me