Re: [w3c/editing] Should execCommand dispatch beforeinput or not? (#200)

I wonder, if spec allows browsers to dispatch `beforeinput` event for `execCommand`, please declare all `inputType` values of each command and declare whether each of them cancelable or not. And I need definitions how to handle nested `execCommand`s. For example, both `beforeinput` event listener and `input` event listeners can set value of `<input>` and `<textarea>` or modify the DOM in `contenteditable`. Especially if `beforeinput` event is not canceled but the values are modified, it requires that how the original default action should be handled. E.g., where is the good place to insert the original edit action's `data`/`dataTransfer`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/200#issuecomment-554869994

Received on Monday, 18 November 2019 06:19:48 UTC