Lightweight HTML5 rich text editor