[webkit-dev] Options for execCommand in Webkit

Darin Adler darin at apple.com
Sat Apr 4 10:26:11 PDT 2009


On Apr 4, 2009, at 1:45 AM, Raja Sekharan wrote:

> What are all the operations that can be done through the execCommand  
> of document object? I am not able to find this in any of the webkit  
> documentation.

I don’t know where there might be documentation for this, but the  
implementation uses a table in the createCommandMap function in the  
EditorCommand.cpp source file. The 44 that say "supported" (as opposed  
to supportedFromMenuOrKeyBinding) are available from  
document.execCommand.

     -- Darin



More information about the webkit-dev mailing list