There is this trick around to turn the browser into a notepad by pasting a single line into the URL bar:
data:text/html,<html contenteditable>
Since the search function is excellent in most browsers (marks all occurrences of the searched word), this can be more useful than other simple editors like the default Windows 10 Editor.
To make it visually more appealing, you can add a title and style
attributes:
data:text/html,<title>Editor</title><html contenteditable style="background:Black;color:LightGray;font-family:monospace">
However when pasting text from the clipboard into the notepad, the text will be pasted as rich text and maintains the color and font from the source. This makes the text unreadable if the rich text color matches the background color. Is there a way to make the broweser notepad discard rich text formatting when pasting?