- From: Darin Adler <darin@apple.com>
- Date: Wed, 13 Aug 2008 09:21:34 -0700
Not sure this will be useful, but I thought it worth mentioning. Folks working on WebKit haven't proposed any execCommand extensions. But WebKit has a lot of editing commands that are alongside the execCommand ones, unavailable from JavaScript because we've done that intentionally to avoid compatibility problems. The relevant source code is here: http://trac.webkit.org/browser/trunk/WebCore/editing/EditorCommand.cpp In a function named createCommandMap. The commands supported from JavaScript say "supported" and the ones not say "supportedFromMenuOrKeyBinding". The map contains 43 execCommand commands, and 75 others that are not exposed to execCommand. This includes commands such as AlignCenter and ToggleUnderline. -- Darin
Received on Wednesday, 13 August 2008 09:21:34 UTC