Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Here's a simple demo: http://jsbin.com/satakudifa/1/edit?html,css,output

It's way easier than you might expect. Only one line of JS needed for this demo (inline `onclick` handler for the bold button). Shortcuts like Ctrl+B, Ctrl+I, Ctrl+U, Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+Z work out of the box (in Chrome; IIRC Firefox might open bookmarks for one of those).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: