dashboard: added rich text editing, bug fixing