[Webkit-unassigned] [Bug 124391] text/rtf clipboard data is empty (makes TinyMCE and textbox.io require Flash)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 26 20:48:00 PST 2017


https://bugs.webkit.org/show_bug.cgi?id=124391

--- Comment #18 from Ryosuke Niwa <rniwa at webkit.org> ---
(In reply to comment #15)
>
> 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?

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:
https://trac.webkit.org/browser/trunk/Source/WebCore/editing/markup.cpp?rev=156256#L713

We might want to resurrect that function back into life.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170127/eaae745b/attachment.html>


More information about the webkit-unassigned mailing list