A lightweight rich-text editor built with the HTML5 contenteditable attribute