4 ms·
It looks like he just uses the "contenteditable" property ( http://valums.com/edit-in-place/ http://valums.com/edit-in-place/ ) to make it editable, and then di
by harisenbon 16y ago
It looks like he just uses the "contenteditable" property ( http://valums.com/edit-in-place/ http://valums.com/edit-in-place/ ) to make it editable, and then displays it as a word-wrap: pre element.
While I can't think of any immediate applications, I had never realized that contenteditable was so widely supported. I'm going to have to try using it in my next project...
- noibl 16y agoThere's no such thing as a 'word-wrap: pre element'.