At some point Mozilla quietly added the ability to copy the actual (X)HTML code of a selection in Firefox to the clipboard instead of just the text content of the selection.
The question can be answered in a couple ways:
Is there a poorly document execCommand that prevents paste from pasting anything other than text/plain?
Is there a way to convert (X)HTML to text/plain during the paste event?
I am most interested in the Firefox HTML copy feature if it can be found.
I would rather not use a framework.