>> We (Google) would like to propose to add a boolean flag indicating whether
>> the user intended to paste as plain text or rich text.
>
> Perhaps we can add event.clipboardData.intendedType ? I.e.
>
> if( event.clipboardData.intendedType=='text/plain' ){
> // user used "paste as text" command
>
Ryosuke Niwa skreiv Thu, 23 Aug 2012 20:40:49 +0200
Hi all,
We (Google) would like to propose to add a boolean flag indicating
whether
the user intended to paste as plain text or rich text.
Perhaps we can add event.clipboardData.intendedType ? I.e.
if( event.clipboardData.intendedType=='
* 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 pr
Hi all,
We (Google) would like to propose to add a boolean flag indicating whether
the user intended to paste as plain text or rich text.
*Problem*
Many modern Web browsers (including Chrome, Safari, Firefox, etc...)
support regular paste and paste as text or paste matching the destination
style.