"When you first discover document.designMode"
Loved this video by Tomek Sułkowski
Did you know you can turn any web page into a rich text editor with a single line of JavaScript?
document.designMode has been around for years and:
- Enables direct editing of web content
- Toggles between "on" and "off" states
- Unlocks unique possibilities for user interactions and dynamic content creation
It is supported in major browsers (Chrome, Firefox, Edge, Safari).
If this seems useful, do check out VisBug - the open-source design tool for browsers https://lnkd.in/gbaFJRJH.