Re: [editing-explainer] Should execCommand be spec'd to do nothing in cE=typing? (#33)

> Do I understand you correctly that you think that cE=typing should behave the same way as cE currently does, but that we should eventually write a separate spec for how execCommand works?

Yes, exactly.

IMHO there is no relation between cE and execCommand, except that those are feature related, usually, to DOM manipulation for the scope of editing. Still they can (and should) leave totally isolated.

In other words, execCommand should not be a feature of cE, but a document feature... and sincerely, it should not dependent on cE at all... it should just take the current selection and execute the requested command on it, period. (I mean, even in non cE selections)

If we take this approach, we'll have less complications for now into the cE=typing specs.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing-explainer/issues/33#issuecomment-95648616

Received on Thursday, 23 April 2015 16:37:14 UTC