JSFiddle - React, Tailwind, and code Playground
HTML
<p>Example:</p>
<div class="page current">this text won't paste properly</div>
<div class="current page">this text will paste properly</div>
<p>Produces:</p>
<pre>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif";
display:none'>this text won't paste properly</span></p>
</pre>
<pre>
<p class=MsoNormal style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'>this
text will paste properly</span></p>
</pre>
CSS
.page { display: none; }
.current { display: block; }
JavaScript
/*
In IE8 and IE9, copy/pasting into Microsoft Word produces different results depending on the order of the class names specified in the HTML. In the first case, the `display: none` declaration is copied to the Clipboard; in the second case it is omitted.
Thoughts?
Gist thread:
https://gist.github.com/1348477
*/