L
L
lagudal2020-10-15 16:13:45
Google Chrome
lagudal, 2020-10-15 16:13:45

Can I have the same notepad, but even simpler?

There is such a feature in chrome: by setting in the address bar data:text/html, <html contenteditable>we get, as it were, a notepad in the browser, a very convenient thing.
But if you copy something from another page, it is copied with the existing formatting - fonts, colors, etc.
How to make it so that pure text is inserted, without any formatting, like in notepad in windows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
datka, 2020-10-15
@lagudal

data:text/html, <textarea style="width: 100%; height: 100%; border: none; outline: none" autofocus />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question