W3C home > Mailing lists > Public > public-webapps@w3.org > July to September 2012

Re: [Clipboard API] Add a flag to indicate paste-as-text to beforepaste and paste events

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 24 Aug 2012 03:48:55 +0200
To: Ryosuke Niwa <rniwa@webkit.org>
Cc: public-webapps <public-webapps@w3.org>
Message-ID: <dmmd38lk66nsf5a2nj5kmdk32lmms921f1@hive.bjoern.hoehrmann.de>
* Ryosuke Niwa wrote:
>Add a boolean flag to beforepaste and paste events indicating whether the
>user had intended to paste as text or rich text. (pasteAsText IDL

There are many more "intents" here than "text" and "not text", like they
may mean to paste vector paths to preseve font characteristics, or they
may have a SVG image on the clipboard and wish to paste the code as text
or as pre-rendered bitmap; in any case, "rich text" isn't the "opposite"
of "text", so it seems incorrect to use a boolean attribute for this.
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Am Badedeich 7 · Telefon: +49(0)160/4415681 · http://www.bjoernsworld.de
25899 Dagebüll · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 24 August 2012 01:49:28 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 11 February 2015 14:37:00 UTC