The latest editing API specification mentions "command" and "value" IDL attributes on input and beforeinput events. We should add those so that authors can extract the high-level semantics of beforeinput/input events such as inserting paragraph, or formatting block with h1.
(In reply to comment #0) > The latest editing API specification mentions "command" and "value" IDL attributes on input and beforeinput events. > We should add those so that authors can extract the high-level semantics of beforeinput/input events such as > inserting paragraph, or formatting block with h1. Could you drop an URL to the spec?
http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html#methods-to-query-and-execute-commands