<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - text/rtf clipboard data is empty (makes TinyMCE and textbox.io require Flash)"
href="https://bugs.webkit.org/show_bug.cgi?id=124391#c18">Comment # 18</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - text/rtf clipboard data is empty (makes TinyMCE and textbox.io require Flash)"
href="https://bugs.webkit.org/show_bug.cgi?id=124391">bug 124391</a>
from <span class="vcard"><a class="email" href="mailto:rniwa@webkit.org" title="Ryosuke Niwa <rniwa@webkit.org>"> <span class="fn">Ryosuke Niwa</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=124391#c15">comment #15</a>)
>
<span class="quote">> Regarding 1., your proposal was to paste RTF content into a document
> ourself. I am not sure what you mean by that. Can you point me in the right
> direction?</span >
What I mean is that
1. Paste RTF read from the pasteboard into a fake/empty document
2. Serialize the contents into RTF again using our HTMLConverter
3. Expose RTF from 2
We already need to do this for text/html since we should be exposing that as well. We used to have code to do this for Chromium:
<a href="https://trac.webkit.org/browser/trunk/Source/WebCore/editing/markup.cpp?rev=156256#L713">https://trac.webkit.org/browser/trunk/Source/WebCore/editing/markup.cpp?rev=156256#L713</a>
We might want to resurrect that function back into life.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>