#StackBounty: #html #copy-paste #clipboard Why's that Windows 10 clipboard prefer plain text over HTML?

Bounty: 500

I built a Windows Forms tool using to highlight a piece of code and then copy the highlighted code onto clipboard with both HTML, RTF and plain text format. When I paste the copied code in Word or WordPad or Google Docs, it will copy with color. In notepad it should copy as plain text. This had been working until yesterday. Suddenly all text editors only paste plain text, not formatted HTML / RTF content anymore. But if I don’t copy plain text format, things will be a bit better, Word, WordPad can paste highlighted code just fine. Of course, pasting doesn’t work in notepad anymore.

My question is why is this behavior change suddenly? I own another laptop, same thing happened. Restart machine doesn’t help.

Get this bounty!!!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.