Re: on execCommand() and script-triggered copy/cut/paste

On Thu, Aug 6, 2015 at 5:50 AM, Ryosuke Niwa <rniwa@apple.com> wrote:
...

>
> No, execCommand **definitely** needs to remain in the recommended spec as
> an obsolete feature regardless of whether its use is discouraged or not.
>
> The idea that we should only write specifications for the bright new
> future has failed. See XHTML 2.0. We need to spec every obsolete feature
> that is needed for Web compatibility reasons because that’s the only way we
> can allow people to write new interoperable browser from scratch. And I can
> assure you can’t build a Web browser compatible with the Web without
> contenteditable=true and execCommand support. A whole bunch of contents
> e.g. Gmail would not work.
>
>
I think there is some misunderstanding here. No information is lost.
Everything about the clipboard api and execCommand is still specced. It's
just that those commands relating to the clipboard are defined in the
execCommand spec draft, just as all other execCommand based commands.
Hallvord can also be added as an editor to the execCommand spec and then he
can just change that section in whatever way is needed, whenever it is
needed.



-- 
Johannes Wilm
Fidus Writer
http://www.fiduswriter.org

Received on Thursday, 6 August 2015 05:01:30 UTC