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

* Ryosuke Niwa wrote:
>*Proposal*
>Add a boolean flag to beforepaste and paste events indicating whether the
>user had intended to paste as text or rich text. (pasteAsText IDL
>attribute?)

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