DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

Hiền VưƑng
Hiền VưƑng

Posted on

[Devtools] Edit any text on page

Wanna test UI on your page when changing your text?
Wanna edit some text directly in the browser itself?

Now with designMode you can use your browser as a text editor.

Go to console and type:

document.designMode = 'on'

to turn it on. Valid values are 'on' and 'off', default is 'off' in almost browsers.

You can now edit almost anything and everything in the DOM.

Happy Debugging!

Originally posted on my blog here

Top comments (0)

50 CLI Tools You Can't Live Without

The top 50 must-have CLI tools, including some scripts to help you automate the installation and updating of these tools on various systems/distros.