HTML contenteditable
- Planted:
While working on weeksofyour.life, I experimented with HTML contenteditable
.
It can be set to "true"
or an empty string to make an element editable, "false"
(default) to disable editing, or "plaintext-only"
to enable plaintext editing only. The rich text editing is actually very cool, I think. Play around with the demo below.
Demo
Try editing this paragraph and its heading! You can bold, italicize, or underline text. You can even add emojis like this: 🥞
Backlinks
Reply
Respond with your thoughts, feedback, corrections, or anything else you’d like to share. Leave your email if you’d like a reply. Thanks for reading.