top | item 3866931

(no title)

lell | 14 years ago

What's the js to make a site editable with your cursor (you can click on text in a <p> and then you get a cursor in it where you can insert more text, also changes your mouse cursor to indicate that you can edit, over text)? I saw it here on hn once in the comments, but then I couldn't find it again later when I needed it. (I had also saved it in a vim window but forgotten to save it, ugh!)

discuss

order

DuoSRX|14 years ago

javascript:document.body.contentEditable='true';document.designMode='on';void 0