Bug 4468 - Implement execCommand(Insert{Un}OrderedList)
Summary: Implement execCommand(Insert{Un}OrderedList)
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P2 Enhancement
Assignee: Levi Weintraub
URL:
Keywords: NeedsReduction
Depends on:
Blocks:
 
Reported: 2005-08-16 21:20 PDT by Stanislas Rolland
Modified: 2006-06-14 13:19 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stanislas Rolland 2005-08-16 21:20:32 PDT
I would like Safari to support the following command identifiers for execCommand:

InsertHorizontalRule
InsertOrderedList
InsertUnorderedList
StrikeThrough

These idetifiers are supported by both Mozilla/Firefox (on Windows, Linux and
Mac OS X, even Mozilla 1.3.1-wamcom on Mac OS 9), and IE on Windows.
Comment 1 Stanislas Rolland 2005-08-29 23:26:13 PDT
I would like to add two more command identifiers to this request, as I noticed
only recently that they are not currently supported by Safari:

CreateLink
Unlink
Comment 2 Darin Adler 2005-08-30 10:31:05 PDT
Putting more identifiers all into one bug report makes it a little harder to track the work.
Comment 3 Joost de Valk (AlthA) 2005-12-19 14:35:31 PST
The source code lists 52 different identifiers we don't have that Microsoft does. Why are these 6 so 
important? If you'd attach testcases, that'd be a good reason to re-open this bug, and it will help getting 
them fixed as well.

If you really feel that these 6 are very important, tell us why, and please re-open the bug. Closing as 
"invalid" now.
Comment 4 Stanislas Rolland 2005-12-20 12:36:11 PST
You're right: I can live without StrikeThrough since the tag is deprecated. And
I can do without all other deprecated tags supported by Safari's execCommand.

And I agree with you: I don't care about Microsoft's 52 command identifiers.

But: lists and links are important structures for any CMS content editor.
Creating  lists, ordered or unordered, and creating/removing links out of
complex selections is not something I intend to get into just to support Safari,
especially since it works very well in Firefox.
Comment 5 Eric Seidel (no email) 2005-12-27 14:06:50 PST
So now all this bug needs is some test cases...
Comment 6 Justin Garcia 2006-04-11 23:16:35 PDT
We've implemented 3/6 of these.  Spinning off InsertHorizontalRule 8335 and making this bug only about Insert{Un}OrderedList.
Comment 7 Stanislas Rolland 2006-04-12 10:06:30 PDT
Good step. Thanks!
Comment 8 Justin Garcia 2006-06-08 21:54:45 PDT
r14777
Comment 9 Stanislas Rolland 2006-06-14 12:26:56 PDT
Thanks for the feature. Is there a way for me to know it what version of Safari this will be made available?
Comment 10 Darin Adler 2006-06-14 13:19:56 PDT
(In reply to comment #9)
> Is there a way for me to know it what version of Safari this will be made available?

Not until after such a version of Safari is released.