Simple rich text editing functionality in less than 100 lines.
(Mac users, try [command] instead of [ctrl])
[CTRL] +
- [ I ] for italic
- [ B ] for bold
- [ Y ] for strike
- [ U ] for underline
- [ up arrow ] for big
- [ down arrow ] for small
- [ Z ] to undo.
This is just the POC.
Demo here: http://gregtaff.com/misc/rich.html