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

Re: [clipboard] Add RTF to the "mandatory data types" list?

From: Hallvord R. M. Steen <hsteen@mozilla.com>
Date: Tue, 19 Aug 2014 03:36:35 -0700 (PDT)
To: "James M. Greene" <james.m.greene@gmail.com>
Cc: public-webapps <public-webapps@w3.org>
Message-ID: <1246474759.21212521.1408444595186.JavaMail.zimbra@mozilla.com>
> Does anyone else have input for/against this?

Conceptually, I guess RTF sort of covers the same use cases as HTML. That doesn't necessarily mean we should not add it.

I don't have "input" as such, but I have a few questions:
Is there any widely used software that writes RTF data to the system clipboard but *not* HTML?

If there's RTF on the clipboard and you try pasting into a rich text editing element, does any browser convert RTF to HTML to preserve the formatting?

Did anyone ever write a complete RTF parser in JavaScript? If you could read raw RTF data off the clipboard, how would you process it? How likely do you think it is that those who write web editors will go through the efforts and add code to handle RTF paste?

-Hallvord
Received on Tuesday, 19 August 2014 10:37:03 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:14:26 UTC