In Android 4.1.1 copying some content from a WebView
(like paragraphs, bullets, spans, links) and pasting it into an EditText
renders the HTML almost like the original (since many tags aren't supported it's not exactly the same but close enough).
But as of Android 4.1.2, the text is not pasted as HTML anymore, and when reading from the ClipboardManager
the text has the MIME_TYPE text\plain
. Is there a way to tell the clipboard manager to copy the selection from a WebView
as HTML and not text?