Re: PSA: HTML fragment mode interaction between Chromium, Clipboard & Notepad++
Andy Burns <[email protected]> Tue, 10 Feb 2026 12:46:46 +0000
| Newsgroups | alt.comp.os.windows-10,alt.comp.os.windows-11,alt.comp.microsoft.windows |
|---|---|
| Message-ID | <[email protected]> |
Maria Sophia wrote: > When you copy text from any Chromium-based application, Apparently Windows > does not just copy plain text. Windows actually puts two versions of the > text on the Windows clipboard: > 1. a normal plain-text version > 2. a hidden HTML-formatted version Not uncommon for many apps to make multiple formats avaailable on the clipboard. > When we paste that clipboard data into Notepad++, Notepad++ sees the hidden > HTML version and Notepad++ assumes the paste is part of a larger HTML > fragment. That puts Notepad++ into a strange internal state, which is > apparently sometimes called "HTML fragment mode". I think notepad++ has a "paste special" command, does that let you pick the plain text version?