4 ms·
adding contenteditable to the <html> tag allows for editing in the browser too
by phelm 7y ago
adding contenteditable to the <html> tag allows for editing in the browser too
- contravariant 7y agoRather surprisingly this allows you to modify the style as well. Not sure anyone's ever used that before.
- comboy 7y agoOnly those inside <body>, still very cool. I had no idea about contenteditable
- neogodless 7y agoThat's really neat - as you can edit the page you're on, which changes the visibility or styling of the source code of the page. Until you can no longer see the source code depending on which styles you change...
- LeonB 7y agothat's a truly wicked idea... okay i've snuck a contenteditable in to the file. Editing styles live inline is wild.
- LeonB 7y agoRats, i had to remove the contenteditable=true... it stopped links from working... still the idea of a visible `contenteditable` style block is a great one. Have to use that some time!