make any element editable

not sure if this will work on "all" or "any" elements, but it works on p tags.

demo

Type whatever you like here.

code

<p contenteditable="true" style='font-size:30px;'>Type whatever you like here.</p>

Page Views

This page has been viewed 173 times.

Search Code
Search Code by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code snippits here, mostly for my reference. Also if i find a good site, i usually add it here.

❤👩‍💻🕹

Random Quote
Treasure every moment that you have and treasure it more because you shared it with someone special, special enough to spend your time...and remember that time waits for no one.
Unknown