Since the selection only โapparentlyโ includes <p> (for example, if you copy, only non- <p> tags are saved in the clipboard), then all you have to do is make sure that the browser is not working, t its color; this can be done by overriding the default selection style using the CSS ::selection specifier ( ::-moz-selection for Mozilla).
So CSS will have something like:
p::-moz-selection { background: transparent; color: #000000; }
Here's a modified version of your demo that behaves as expected: Link .
Hope this helps you!
source share